PUT api/Subcontracts/{subcontractId}/Descope/{descopeId}
Update a descope related to a subcontract and a descopeId.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subcontractId |
Subcontract identifier |
integer |
Required |
| descopeId |
Descope identifier |
integer |
Required |
Body Parameters
New descope params.
DescopeCreateOrUpdateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| Description | string |
None. |
|
| Amount | decimal number |
None. |
|
| Pep | string |
None. |
|
| ItemGroupCode | string |
None. |
|
| DisciplineId | string |
None. |
|
| ToChargeCostTypeId | CostChargeToTypeId |
None. |
|
| CrNconformity | string |
None. |
|
| DeclaredAsBackchargeableOn | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"code": "sample string 1",
"description": "sample string 2",
"amount": 1.0,
"pep": "sample string 3",
"itemGroupCode": "sample string 4",
"disciplineId": "sample string 5",
"toChargeCostTypeId": 1,
"crNconformity": "sample string 6",
"declaredAsBackchargeableOn": "2026-05-08T14:03:31.388241+02:00"
}
text/html
Sample:
{"code":"sample string 1","description":"sample string 2","amount":1.0,"pep":"sample string 3","itemGroupCode":"sample string 4","disciplineId":"sample string 5","toChargeCostTypeId":1,"crNconformity":"sample string 6","declaredAsBackchargeableOn":"2026-05-08T14:03:31.388241+02:00"}
application/xml, text/xml
Sample:
<DescopeCreateOrUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.DescopeAgg"> <Amount>1</Amount> <Code>sample string 1</Code> <CrNconformity>sample string 6</CrNconformity> <DeclaredAsBackchargeableOn>2026-05-08T14:03:31.388241+02:00</DeclaredAsBackchargeableOn> <Description>sample string 2</Description> <DisciplineId>sample string 5</DisciplineId> <ItemGroupCode>sample string 4</ItemGroupCode> <Pep>sample string 3</Pep> <ToChargeCostTypeId>BudgetTR</ToChargeCostTypeId> </DescopeCreateOrUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiDataResultOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | boolean |
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.