POST api/Subcontracts/{subcontractId}/TMPriceList/UnitTMPriceItem

Create unit tm price item

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subcontractId

integer

Required

Body Parameters

TmPriceItemCreateOrUpdateDto
NameDescriptionTypeAdditional information
SectionId

integer

None.

CommodityCode

string

None.

Quantity

decimal number

None.

ErectionPrice

decimal number

None.

Remarks

string

None.

Request Formats

application/json, text/json

Sample:
{
  "sectionId": 1,
  "commodityCode": "sample string 2",
  "quantity": 1.0,
  "erectionPrice": 1.0,
  "remarks": "sample string 3"
}

text/html

Sample:
{"sectionId":1,"commodityCode":"sample string 2","quantity":1.0,"erectionPrice":1.0,"remarks":"sample string 3"}

application/xml, text/xml

Sample:
<TmPriceItemCreateOrUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.TMPriceListAgg">
  <CommodityCode>sample string 2</CommodityCode>
  <ErectionPrice>1</ErectionPrice>
  <Quantity>1</Quantity>
  <Remarks>sample string 3</Remarks>
  <SectionId>1</SectionId>
</TmPriceItemCreateOrUpdateDto>

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.