POST api/Subcontracts/{subcontractId}/CostList/ProgressCalculateSections

Gets the progress calculate summary sections for a subcontract

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subcontractId

integer

Required

Body Parameters

Collection of ProgressSectionToCalculate
NameDescriptionTypeAdditional information
Id

integer

None.

QuantityTypeId

QuantityTypeId

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "quantityTypeId": 0
  },
  {
    "id": 1,
    "quantityTypeId": 0
  }
]

text/html

Sample:
[{"id":1,"quantityTypeId":0},{"id":1,"quantityTypeId":0}]

application/xml, text/xml

Sample:
<ArrayOfProgressSectionToCalculate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.ProgressAgg">
  <ProgressSectionToCalculate>
    <Id>1</Id>
    <QuantityTypeId>Assigned</QuantityTypeId>
  </ProgressSectionToCalculate>
  <ProgressSectionToCalculate>
    <Id>1</Id>
    <QuantityTypeId>Assigned</QuantityTypeId>
  </ProgressSectionToCalculate>
</ArrayOfProgressSectionToCalculate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiDataResultOfDecimal
NameDescriptionTypeAdditional information
Data

decimal number

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.