PUT api/Subcontracts/{subcontractId}/Fewo/{fewoId}/BkchargeProposals/{bkchargeProposalId}
Updates a backcharge.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subcontractId |
Subcontract identifier. |
integer |
Required |
| fewoId |
Fewo identifier. |
integer |
Required |
| bkchargeProposalId |
Backcharge identifier. |
integer |
Required |
Body Parameters
New backcharge parameters.
FewoBkchargeProposalDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| FewoVersionId | integer |
None. |
|
| DestinationTypeId | integer |
None. |
|
| DestinationTypeDescription | string |
None. |
|
| DestinationCode | string |
None. |
|
| Amount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"fewoVersionId": 2,
"destinationTypeId": 3,
"destinationTypeDescription": "sample string 4",
"destinationCode": "sample string 5",
"amount": 1.0
}
text/html
Sample:
{"id":1,"fewoVersionId":2,"destinationTypeId":3,"destinationTypeDescription":"sample string 4","destinationCode":"sample string 5","amount":1.0}
application/xml, text/xml
Sample:
<FewoBkchargeProposalDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.FewoAgg"> <Amount>1</Amount> <DestinationCode>sample string 5</DestinationCode> <DestinationTypeDescription>sample string 4</DestinationTypeDescription> <DestinationTypeId>3</DestinationTypeId> <FewoVersionId>2</FewoVersionId> <Id>1</Id> </FewoBkchargeProposalDto>
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.