POST api/my/basura/foodwaste/adm/usr/quotation/add

Request Information

URI Parameters

None.

Body Parameters

FWQuotationDTO
NameDescriptionTypeAdditional information
CustomerID

integer

None.

Price

decimal number

None.

Discount

decimal number

None.

TotalPrice

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerID": 1,
  "Price": 2.0,
  "Discount": 3.0,
  "TotalPrice": 4.0
}

application/xml, text/xml

Sample:
<FWQuotationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO">
  <CustomerID>1</CustomerID>
  <Discount>3</Discount>
  <Price>2</Price>
  <TotalPrice>4</TotalPrice>
</FWQuotationDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FWQuotationDTO'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.