POST api/Subcontracts/{subcontractId}/Backcharge

Create subcontract backcharge.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subcontractId

Subcontract identifier

integer

Required

Body Parameters

New backcharge params.

BackchargeCreateDto
NameDescriptionTypeAdditional information
Description

string

None.

BackchargeTypeId

integer

None.

IssueDate

date

None.

ShowInLog

boolean

None.

BackchargeableLineCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "description": "sample string 1",
  "backchargeTypeId": 1,
  "issueDate": "2026-05-09T14:05:32.7918722+02:00",
  "showInLog": true,
  "backchargeableLineCode": "sample string 2"
}

text/html

Sample:
{"description":"sample string 1","backchargeTypeId":1,"issueDate":"2026-05-09T14:05:32.7918722+02:00","showInLog":true,"backchargeableLineCode":"sample string 2"}

application/xml, text/xml

Sample:
<BackchargeCreateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.BackchargeAgg">
  <BackchargeTypeId>1</BackchargeTypeId>
  <BackchargeableLineCode>sample string 2</BackchargeableLineCode>
  <Description>sample string 1</Description>
  <IssueDate>2026-05-09T14:05:32.7918722+02:00</IssueDate>
  <ShowInLog>true</ShowInLog>
</BackchargeCreateDto>

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.