GET api/Subcontracts/{subcontractId}/Total
Get subcontract total import
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subcontractId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of SubcontractTotalDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Po | decimal number |
None. |
|
| CurrentEstimated | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"po": 1.0,
"currentEstimated": 2.0
},
{
"po": 1.0,
"currentEstimated": 2.0
}
]
text/html
Sample:
[{"po":1.0,"currentEstimated":2.0},{"po":1.0,"currentEstimated":2.0}]
application/xml, text/xml
Sample:
<ArrayOfSubcontractTotalDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.SubcontractAgg">
<SubcontractTotalDto>
<CurrentEstimated>2</CurrentEstimated>
<Po>1</Po>
</SubcontractTotalDto>
<SubcontractTotalDto>
<CurrentEstimated>2</CurrentEstimated>
<Po>1</Po>
</SubcontractTotalDto>
</ArrayOfSubcontractTotalDto>