POST api/Subcontracts/{subcontractId}/Backcharge
Create subcontract backcharge.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subcontractId |
Subcontract identifier |
integer |
Required |
Body Parameters
New backcharge params.
BackchargeCreateDto| Name | Description | Type | Additional information |
|---|---|---|---|
| BackchargeTypeId | integer |
None. |
|
| Description | string |
None. |
|
| DisciplineId | string |
None. |
|
| IssueDate | date |
None. |
|
| ItemGroupCode | string |
None. |
|
| Pep | string |
None. |
|
| PepDescription | string |
None. |
|
| ShowInLog | boolean |
None. |
|
| Society | string |
None. |
|
| BackchargeableLineCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"backchargeTypeId": 1,
"description": "sample string 1",
"disciplineId": "sample string 2",
"issueDate": "2026-07-30T23:04:27.7686877+02:00",
"itemGroupCode": "sample string 3",
"pep": "sample string 4",
"pepDescription": "sample string 5",
"showInLog": true,
"society": "sample string 6",
"backchargeableLineCode": "sample string 7"
}
text/html
Sample:
{"backchargeTypeId":1,"description":"sample string 1","disciplineId":"sample string 2","issueDate":"2026-07-30T23:04:27.7686877+02:00","itemGroupCode":"sample string 3","pep":"sample string 4","pepDescription":"sample string 5","showInLog":true,"society":"sample string 6","backchargeableLineCode":"sample string 7"}
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 7</BackchargeableLineCode> <Description>sample string 1</Description> <DisciplineId>sample string 2</DisciplineId> <IssueDate>2026-07-30T23:04:27.7686877+02:00</IssueDate> <ItemGroupCode>sample string 3</ItemGroupCode> <Pep>sample string 4</Pep> <PepDescription>sample string 5</PepDescription> <ShowInLog>true</ShowInLog> <Society>sample string 6</Society> </BackchargeCreateDto>
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.