POST api/Subcontracts/{subcontractId}/CostLists/Versions/{versionId}/TreeQuery
Get subcontract indirect cost items
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subcontractId | integer |
Required |
|
| versionId | integer |
Required |
Body Parameters
CostItemTreeFilter| Name | Description | Type | Additional 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. |
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
}
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}
application/xml, text/xml
Sample:
<CostItemTreeFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.CostListAgg"> <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> </CostItemTreeFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiDataResultOfCostTreeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | CostTreeDto |
None. |
|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Errors | Collection of CustomError |
None. |
|
| Warnings | Collection of string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.