PUT api/Sections/{sectionId}
Updates an existing section details
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| sectionId | integer |
Required |
Body Parameters
SectionUpdateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Title | string |
Required String length: inclusive between 0 and 250 |
|
| SectionTypeId | integer |
Required |
|
| CertificationModeId | integer |
None. |
|
| Pep | string |
None. |
|
| SectionScopeTypeId | integer |
Required |
|
| ItemGroupCode | string |
None. |
|
| DisciplineId | string |
None. |
|
| SignedPrice | decimal number |
None. |
|
| ByProgressPercentage | decimal number |
None. |
|
| ByPrgPercContractClause | string |
None. |
|
| Tmsr | Collection of TimeAndMaterialSrBasicInfoDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"title": "sample string 2",
"sectionTypeId": 3,
"certificationModeId": 4,
"pep": "sample string 5",
"sectionScopeTypeId": 6,
"itemGroupCode": "sample string 7",
"disciplineId": "sample string 8",
"signedPrice": 1.0,
"byProgressPercentage": 1.0,
"byPrgPercContractClause": "sample string 9",
"tmsr": [
{
"id": 1,
"tmsrNumber": "sample string 2",
"issuedDate": "2026-05-09T14:05:03.4011211+02:00",
"workitemSfr": "sample string 4",
"supervisorLevel": 5,
"expectedCost": 1.0,
"isClosed": true,
"currencyCode": "sample string 7"
},
{
"id": 1,
"tmsrNumber": "sample string 2",
"issuedDate": "2026-05-09T14:05:03.4011211+02:00",
"workitemSfr": "sample string 4",
"supervisorLevel": 5,
"expectedCost": 1.0,
"isClosed": true,
"currencyCode": "sample string 7"
}
]
}
text/html
Sample:
{"title":"sample string 2","sectionTypeId":3,"certificationModeId":4,"pep":"sample string 5","sectionScopeTypeId":6,"itemGroupCode":"sample string 7","disciplineId":"sample string 8","signedPrice":1.0,"byProgressPercentage":1.0,"byPrgPercContractClause":"sample string 9","tmsr":[{"id":1,"tmsrNumber":"sample string 2","issuedDate":"2026-05-09T14:05:03.4011211+02:00","workitemSfr":"sample string 4","supervisorLevel":5,"expectedCost":1.0,"isClosed":true,"currencyCode":"sample string 7"},{"id":1,"tmsrNumber":"sample string 2","issuedDate":"2026-05-09T14:05:03.4011211+02:00","workitemSfr":"sample string 4","supervisorLevel":5,"expectedCost":1.0,"isClosed":true,"currencyCode":"sample string 7"}]}
application/xml, text/xml
Sample:
<SectionUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.SectionAgg">
<ByPrgPercContractClause>sample string 9</ByPrgPercContractClause>
<ByProgressPercentage>1</ByProgressPercentage>
<CertificationModeId>4</CertificationModeId>
<DisciplineId>sample string 8</DisciplineId>
<ItemGroupCode>sample string 7</ItemGroupCode>
<Pep>sample string 5</Pep>
<SectionScopeTypeId>6</SectionScopeTypeId>
<SectionTypeId>3</SectionTypeId>
<SignedPrice>1</SignedPrice>
<Title>sample string 2</Title>
<Tmsr xmlns:d2p1="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.TimeAndMaterialSrAgg">
<d2p1:TimeAndMaterialSrBasicInfoDto>
<d2p1:CurrencyCode>sample string 7</d2p1:CurrencyCode>
<d2p1:ExpectedCost>1</d2p1:ExpectedCost>
<d2p1:Id>1</d2p1:Id>
<d2p1:IsClosed>true</d2p1:IsClosed>
<d2p1:IssuedDate>2026-05-09T14:05:03.4011211+02:00</d2p1:IssuedDate>
<d2p1:SupervisorLevel>5</d2p1:SupervisorLevel>
<d2p1:TmsrNumber>sample string 2</d2p1:TmsrNumber>
<d2p1:WorkitemSfr>sample string 4</d2p1:WorkitemSfr>
</d2p1:TimeAndMaterialSrBasicInfoDto>
<d2p1:TimeAndMaterialSrBasicInfoDto>
<d2p1:CurrencyCode>sample string 7</d2p1:CurrencyCode>
<d2p1:ExpectedCost>1</d2p1:ExpectedCost>
<d2p1:Id>1</d2p1:Id>
<d2p1:IsClosed>true</d2p1:IsClosed>
<d2p1:IssuedDate>2026-05-09T14:05:03.4011211+02:00</d2p1:IssuedDate>
<d2p1:SupervisorLevel>5</d2p1:SupervisorLevel>
<d2p1:TmsrNumber>sample string 2</d2p1:TmsrNumber>
<d2p1:WorkitemSfr>sample string 4</d2p1:WorkitemSfr>
</d2p1:TimeAndMaterialSrBasicInfoDto>
</Tmsr>
</SectionUpdateDto>
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>