POST api/Subcontracts/{subcontractId}/CostLists/Versions/{versionId}/Export

Get export subcontract cost items

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subcontractId

integer

Required

versionId

integer

Required

Body Parameters

CostItemOrderFilter
NameDescriptionTypeAdditional information
CostListTypeId

integer

None.

CostItemTypeId

integer

None.

Description

string

None.

QuantityFrom

decimal number

None.

QuantityTo

decimal number

None.

UnitPriceFrom

decimal number

None.

UnitPriceTo

decimal number

None.

VersionId

integer

None.

Orders

Collection of Order

None.

Request Formats

application/json, text/json

Sample:
{
  "costListTypeId": 1,
  "costItemTypeId": 1,
  "description": "sample string 1",
  "quantityFrom": 1.0,
  "quantityTo": 1.0,
  "unitPriceFrom": 1.0,
  "unitPriceTo": 1.0,
  "versionId": 1,
  "orders": [
    {
      "name": "sample string 1",
      "descending": true
    },
    {
      "name": "sample string 1",
      "descending": true
    }
  ]
}

text/html

Sample:
{"costListTypeId":1,"costItemTypeId":1,"description":"sample string 1","quantityFrom":1.0,"quantityTo":1.0,"unitPriceFrom":1.0,"unitPriceTo":1.0,"versionId":1,"orders":[{"name":"sample string 1","descending":true},{"name":"sample string 1","descending":true}]}

application/xml, text/xml

Sample:
<CostItemOrderFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.CostListAgg">
  <Orders xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.Application.Base.SortAndPage.Entities">
    <Order>
      <Descending>true</Descending>
      <Name>sample string 1</Name>
    </Order>
    <Order>
      <Descending>true</Descending>
      <Name>sample string 1</Name>
    </Order>
  </Orders>
  <CostItemTypeId>1</CostItemTypeId>
  <CostListTypeId>1</CostListTypeId>
  <Description>sample string 1</Description>
  <QuantityFrom>1</QuantityFrom>
  <QuantityTo>1</QuantityTo>
  <UnitPriceFrom>1</UnitPriceFrom>
  <UnitPriceTo>1</UnitPriceTo>
  <VersionId>1</VersionId>
</CostItemOrderFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.