GET api/Subcontracts/{subcontractId}/CostLists/Types/{costListTypeId}
Get a subcontract cost list by type
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subcontractId | integer |
Required |
|
| costListTypeId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CostListDto| Name | Description | Type | Additional information |
|---|---|---|---|
| CostListTypeId | CostListTypeId |
None. |
|
| CostListTypeDescription | string |
None. |
|
| Name | string |
None. |
|
| CostAmount | decimal number |
None. |
|
| TotalItemsAmount | decimal number |
None. |
|
| CostPercent | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"costListTypeId": 0,
"costListTypeDescription": "Default",
"name": "sample string 1",
"costAmount": 1.0,
"totalItemsAmount": 1.0,
"costPercent": 100.0
}
text/html
Sample:
{"costListTypeId":0,"costListTypeDescription":"Default","name":"sample string 1","costAmount":1.0,"totalItemsAmount":1.0,"costPercent":100.0}
application/xml, text/xml
Sample:
<CostListDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.CostListAgg"> <CostAmount>1</CostAmount> <CostListTypeId>Default</CostListTypeId> <Name>sample string 1</Name> <TotalItemsAmount>1</TotalItemsAmount> </CostListDto>