PUT api/Subcontracts/{subcontractId}/CostLists
Updates a cost list given a subcontract
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subcontractId | integer |
Required |
Body Parameters
CostListTypeUpdateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| CostAmount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"costAmount": 2.0
}
text/html
Sample:
{"costAmount":2.0}
application/xml, text/xml
Sample:
<CostListTypeUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.CostListAgg"> <CostAmount>2</CostAmount> </CostListTypeUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json, text/html
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>