PUT api/Subcontracts/{subcontractId}/Certifications/{certificationId}
Updates a certification
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| certificationId | integer |
Required |
|
| subcontractId | string |
None. |
Body Parameters
CertificationUpdateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Title | string |
None. |
|
| ApprovedExternally | boolean |
None. |
|
| AutomaticallySendToSap | boolean |
None. |
|
| Description | string |
None. |
|
| LogComments | string |
None. |
|
| EmissionDate | date |
None. |
|
| FromDate | date |
None. |
|
| ToDate | date |
None. |
|
| PaymentDueDate | date |
None. |
|
| ApprovedDate | date |
None. |
|
| TotalAmount | decimal number |
None. |
|
| DeductionRate | decimal number |
None. |
|
| DeductionAmount | decimal number |
None. |
|
| DeductionAmountAppliedTypeId | AmountAppliedTypeId |
None. |
|
| RetentionRate | decimal number |
None. |
|
| RetentionAmount | decimal number |
None. |
|
| RetentionAmountAppliedTypeId | AmountAppliedTypeId |
None. |
|
| RetentionReleasedAmount | decimal number |
None. |
|
| PlannedPayments | Collection of CertificationPlannedPaymentDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"title": "sample string 1",
"approvedExternally": true,
"automaticallySendToSap": true,
"description": "sample string 2",
"logComments": "sample string 3",
"emissionDate": "2026-05-09T11:10:46.8456864+02:00",
"fromDate": "2026-05-09T11:10:46.8456864+02:00",
"toDate": "2026-05-09T11:10:46.8456864+02:00",
"paymentDueDate": "2026-05-09T11:10:46.8456864+02:00",
"approvedDate": "2026-05-09T11:10:46.8456864+02:00",
"totalAmount": 1.0,
"deductionRate": 1.0,
"deductionAmount": 1.0,
"deductionAmountAppliedTypeId": 1,
"retentionRate": 1.0,
"retentionAmount": 1.0,
"retentionAmountAppliedTypeId": 1,
"retentionReleasedAmount": 1.0,
"plannedPayments": [
{
"code": "sample string 1",
"plannedDate": "2026-05-09T11:10:46.8456864+02:00",
"amount": 1.0
},
{
"code": "sample string 1",
"plannedDate": "2026-05-09T11:10:46.8456864+02:00",
"amount": 1.0
}
]
}
text/html
Sample:
{"title":"sample string 1","approvedExternally":true,"automaticallySendToSap":true,"description":"sample string 2","logComments":"sample string 3","emissionDate":"2026-05-09T11:10:46.8456864+02:00","fromDate":"2026-05-09T11:10:46.8456864+02:00","toDate":"2026-05-09T11:10:46.8456864+02:00","paymentDueDate":"2026-05-09T11:10:46.8456864+02:00","approvedDate":"2026-05-09T11:10:46.8456864+02:00","totalAmount":1.0,"deductionRate":1.0,"deductionAmount":1.0,"deductionAmountAppliedTypeId":1,"retentionRate":1.0,"retentionAmount":1.0,"retentionAmountAppliedTypeId":1,"retentionReleasedAmount":1.0,"plannedPayments":[{"code":"sample string 1","plannedDate":"2026-05-09T11:10:46.8456864+02:00","amount":1.0},{"code":"sample string 1","plannedDate":"2026-05-09T11:10:46.8456864+02:00","amount":1.0}]}
application/xml, text/xml
Sample:
<CertificationUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.CertificationAgg">
<ApprovedDate>2026-05-09T11:10:46.8456864+02:00</ApprovedDate>
<ApprovedExternally>true</ApprovedExternally>
<AutomaticallySendToSap>true</AutomaticallySendToSap>
<DeductionAmount>1</DeductionAmount>
<DeductionAmountAppliedTypeId>Amount</DeductionAmountAppliedTypeId>
<DeductionRate>1</DeductionRate>
<Description>sample string 2</Description>
<EmissionDate>2026-05-09T11:10:46.8456864+02:00</EmissionDate>
<FromDate>2026-05-09T11:10:46.8456864+02:00</FromDate>
<LogComments>sample string 3</LogComments>
<PaymentDueDate>2026-05-09T11:10:46.8456864+02:00</PaymentDueDate>
<PlannedPayments>
<CertificationPlannedPaymentDto>
<Amount>1</Amount>
<Code>sample string 1</Code>
<PlannedDate>2026-05-09T11:10:46.8456864+02:00</PlannedDate>
</CertificationPlannedPaymentDto>
<CertificationPlannedPaymentDto>
<Amount>1</Amount>
<Code>sample string 1</Code>
<PlannedDate>2026-05-09T11:10:46.8456864+02:00</PlannedDate>
</CertificationPlannedPaymentDto>
</PlannedPayments>
<RetentionAmount>1</RetentionAmount>
<RetentionAmountAppliedTypeId>Amount</RetentionAmountAppliedTypeId>
<RetentionRate>1</RetentionRate>
<RetentionReleasedAmount>1</RetentionReleasedAmount>
<Title>sample string 1</Title>
<ToDate>2026-05-09T11:10:46.8456864+02:00</ToDate>
<TotalAmount>1</TotalAmount>
</CertificationUpdateDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiDataResultOfCertificationDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | CertificationDto |
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.