PUT api/Subcontracts/{subcontractId}/Backcharge/Backchargeables/{backchargeableLineId}

Update backchargeable entity

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subcontractId

Subcontract identifier

integer

Required

backchargeableLineId

Backchargeable entity identifier

integer

Required

Body Parameters

CreateOrUpdateBackchargeableLineDto
NameDescriptionTypeAdditional information
BackchargToChargCosttypeId

BackchargeToChargeCostTypeId

None.

SubcontractorVendor

string

None.

PoCode

string

None.

PoName

string

None.

AmountToBackcharge

decimal number

None.

OriginConcept

string

None.

SubcontractorVendorName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "backchargToChargCosttypeId": 1,
  "subcontractorVendor": "sample string 1",
  "poCode": "sample string 2",
  "poName": "sample string 3",
  "amountToBackcharge": 4.0,
  "originConcept": "sample string 5",
  "subcontractorVendorName": "sample string 6"
}

text/html

Sample:
{"backchargToChargCosttypeId":1,"subcontractorVendor":"sample string 1","poCode":"sample string 2","poName":"sample string 3","amountToBackcharge":4.0,"originConcept":"sample string 5","subcontractorVendorName":"sample string 6"}

application/xml, text/xml

Sample:
<CreateOrUpdateBackchargeableLineDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.BackchargeAgg">
  <AmountToBackcharge>4</AmountToBackcharge>
  <BackchargToChargCosttypeId>Subcontractor</BackchargToChargCosttypeId>
  <OriginConcept>sample string 5</OriginConcept>
  <PoCode>sample string 2</PoCode>
  <PoName>sample string 3</PoName>
  <SubcontractorVendor>sample string 1</SubcontractorVendor>
  <SubcontractorVendorName>sample string 6</SubcontractorVendorName>
</CreateOrUpdateBackchargeableLineDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiDataResultOfInt64
NameDescriptionTypeAdditional information
Data

integer

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.