PUT api/Subcontracts/{subcontractId}/Backcharge/{backchargeId}

Update a backcharges related to a subcontract.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subcontractId

Subcontract identifier.

integer

Required

backchargeId

Backcharge identifier

integer

Required

Body Parameters

New backcharge params.

BackchargeCreateOrUpdateDto
NameDescriptionTypeAdditional information
Code

string

None.

ApprovedExternally

boolean

None.

Description

string

None.

SubtotalCostAmount

decimal number

None.

Pep

string

None.

ItemGroupCode

string

None.

DisciplineId

string

None.

IsApprovedBySubcontractor

boolean

None.

BackchargeTypeId

integer

None.

RefDocPoNumber

string

None.

RefDocMrfNumber

string

None.

RefDocSubcontractorVendor

string

None.

Reason

string

None.

Remarks

string

None.

IssueDate

date

None.

ManagementCost

decimal number

None.

ExchangeRate

decimal number

None.

OriginCurrency

string

None.

DestinationCurrency

string

None.

EstimatedCost

decimal number

None.

ActualCost

decimal number

None.

Unit

string

None.

ApprovedBySubcontractorDate

date

None.

ShowInLog

boolean

None.

LinkedBackchargeable

BackchargeableLinkedDto

None.

Request Formats

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "approvedExternally": true,
  "description": "sample string 2",
  "subtotalCostAmount": 1.0,
  "pep": "sample string 3",
  "itemGroupCode": "sample string 4",
  "disciplineId": "sample string 5",
  "isApprovedBySubcontractor": true,
  "backchargeTypeId": 1,
  "refDocPoNumber": "sample string 7",
  "refDocMrfNumber": "sample string 8",
  "refDocSubcontractorVendor": "sample string 9",
  "reason": "sample string 10",
  "remarks": "sample string 11",
  "issueDate": "2026-05-09T14:07:20.6687253+02:00",
  "managementCost": 1.0,
  "exchangeRate": 1.0,
  "originCurrency": "sample string 13",
  "destinationCurrency": "sample string 14",
  "estimatedCost": 1.0,
  "actualCost": 1.0,
  "unit": "sample string 15",
  "approvedBySubcontractorDate": "2026-05-09T14:07:20.6687253+02:00",
  "showInLog": true,
  "linkedBackchargeable": {
    "id": 1,
    "businessEntityTypeDesc": "sample string 2",
    "entityCode": "sample string 3",
    "originConcept": "sample string 4",
    "subcontractorVendor": "sample string 5",
    "subcontractorVendorName": "sample string 6",
    "backchargeableAssignmentDate": "sample string 7",
    "amountToBackcharge": 1.0
  }
}

text/html

Sample:
{"code":"sample string 1","approvedExternally":true,"description":"sample string 2","subtotalCostAmount":1.0,"pep":"sample string 3","itemGroupCode":"sample string 4","disciplineId":"sample string 5","isApprovedBySubcontractor":true,"backchargeTypeId":1,"refDocPoNumber":"sample string 7","refDocMrfNumber":"sample string 8","refDocSubcontractorVendor":"sample string 9","reason":"sample string 10","remarks":"sample string 11","issueDate":"2026-05-09T14:07:20.6687253+02:00","managementCost":1.0,"exchangeRate":1.0,"originCurrency":"sample string 13","destinationCurrency":"sample string 14","estimatedCost":1.0,"actualCost":1.0,"unit":"sample string 15","approvedBySubcontractorDate":"2026-05-09T14:07:20.6687253+02:00","showInLog":true,"linkedBackchargeable":{"id":1,"businessEntityTypeDesc":"sample string 2","entityCode":"sample string 3","originConcept":"sample string 4","subcontractorVendor":"sample string 5","subcontractorVendorName":"sample string 6","backchargeableAssignmentDate":"sample string 7","amountToBackcharge":1.0}}

application/xml, text/xml

Sample:
<BackchargeCreateOrUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.BackchargeAgg">
  <ActualCost>1</ActualCost>
  <ApprovedBySubcontractorDate>2026-05-09T14:07:20.6687253+02:00</ApprovedBySubcontractorDate>
  <ApprovedExternally>true</ApprovedExternally>
  <BackchargeTypeId>1</BackchargeTypeId>
  <Code>sample string 1</Code>
  <Description>sample string 2</Description>
  <DestinationCurrency>sample string 14</DestinationCurrency>
  <DisciplineId>sample string 5</DisciplineId>
  <EstimatedCost>1</EstimatedCost>
  <ExchangeRate>1</ExchangeRate>
  <IsApprovedBySubcontractor>true</IsApprovedBySubcontractor>
  <IssueDate>2026-05-09T14:07:20.6687253+02:00</IssueDate>
  <ItemGroupCode>sample string 4</ItemGroupCode>
  <LinkedBackchargeable>
    <AmountToBackcharge>1</AmountToBackcharge>
    <BackchargeableAssignmentDate>sample string 7</BackchargeableAssignmentDate>
    <BusinessEntityTypeDesc>sample string 2</BusinessEntityTypeDesc>
    <EntityCode>sample string 3</EntityCode>
    <Id>1</Id>
    <OriginConcept>sample string 4</OriginConcept>
    <SubcontractorVendor>sample string 5</SubcontractorVendor>
    <SubcontractorVendorName>sample string 6</SubcontractorVendorName>
  </LinkedBackchargeable>
  <ManagementCost>1</ManagementCost>
  <OriginCurrency>sample string 13</OriginCurrency>
  <Pep>sample string 3</Pep>
  <Reason>sample string 10</Reason>
  <RefDocMrfNumber>sample string 8</RefDocMrfNumber>
  <RefDocPoNumber>sample string 7</RefDocPoNumber>
  <RefDocSubcontractorVendor>sample string 9</RefDocSubcontractorVendor>
  <Remarks>sample string 11</Remarks>
  <ShowInLog>true</ShowInLog>
  <SubtotalCostAmount>1</SubtotalCostAmount>
  <Unit>sample string 15</Unit>
</BackchargeCreateOrUpdateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiDataResultOfBoolean
NameDescriptionTypeAdditional 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.