PUT api/Sections/{sectionId}/progress/{selectorTypeId}/{quantityType}
Updates section progress positions
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| sectionId | integer |
Required |
|
| selectorTypeId | integer |
Required |
|
| quantityType | string |
Required |
Body Parameters
Collection of ProgressPositionUpdateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Value | decimal number |
None. |
|
| SectionTypeId | SectionTypeId |
None. |
|
| NodeLevelId | NodeLevelId |
None. |
|
| SectionScopeTypeId | SectionScopeTypeId |
None. |
|
| PositionId | string |
Required |
Request Formats
application/json, text/json
Sample:
[
{
"value": 1.0,
"sectionTypeId": 0,
"nodeLevelId": 1,
"sectionScopeTypeId": 1,
"positionId": "sample string 2"
},
{
"value": 1.0,
"sectionTypeId": 0,
"nodeLevelId": 1,
"sectionScopeTypeId": 1,
"positionId": "sample string 2"
}
]
text/html
Sample:
[{"value":1.0,"sectionTypeId":0,"nodeLevelId":1,"sectionScopeTypeId":1,"positionId":"sample string 2"},{"value":1.0,"sectionTypeId":0,"nodeLevelId":1,"sectionScopeTypeId":1,"positionId":"sample string 2"}]
application/xml, text/xml
Sample:
<ArrayOfProgressPositionUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.ProgressAgg">
<ProgressPositionUpdateDto>
<NodeLevelId>Block</NodeLevelId>
<PositionId>sample string 2</PositionId>
<SectionScopeTypeId>Mca</SectionScopeTypeId>
<SectionTypeId>Default</SectionTypeId>
<Value>1</Value>
</ProgressPositionUpdateDto>
<ProgressPositionUpdateDto>
<NodeLevelId>Block</NodeLevelId>
<PositionId>sample string 2</PositionId>
<SectionScopeTypeId>Mca</SectionScopeTypeId>
<SectionTypeId>Default</SectionTypeId>
<Value>1</Value>
</ProgressPositionUpdateDto>
</ArrayOfProgressPositionUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Errors | Collection of CustomError |
None. |
|
| Warnings | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": false,
"message": "sample string 1",
"errors": [
{
"errorCode": 1,
"errorMessage": "sample string 2"
},
{
"errorCode": 1,
"errorMessage": "sample string 2"
}
],
"warnings": [
"sample string 1",
"sample string 2"
]
}
text/html
Sample:
{"success":false,"message":"sample string 1","errors":[{"errorCode":1,"errorMessage":"sample string 2"},{"errorCode":1,"errorMessage":"sample string 2"}],"warnings":["sample string 1","sample string 2"]}
application/xml, text/xml
Sample:
<ApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.DistributedServices.WebApi.Base.Results">
<Errors xmlns:d2p1="http://schemas.datacontract.org/2004/07/TR.eSAM.Infrastructure.Crosscutting.Exceptions">
<d2p1:CustomError>
<d2p1:ErrorCode>1</d2p1:ErrorCode>
<d2p1:ErrorMessage>sample string 2</d2p1:ErrorMessage>
</d2p1:CustomError>
<d2p1:CustomError>
<d2p1:ErrorCode>1</d2p1:ErrorCode>
<d2p1:ErrorMessage>sample string 2</d2p1:ErrorMessage>
</d2p1:CustomError>
</Errors>
<Message>sample string 1</Message>
<Warnings xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Warnings>
</ApiResult>