POST api/PriceListsController/AddQuantitiesPriceList

Request Information

URI Parameters

None.

Body Parameters

QuantitiesPriceList
NameDescriptionTypeAdditional information
keycode

integer

Required

to_quan

integer

Required

price

decimal number

Required

line_code

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "keycode": 1,
  "to_quan": 2,
  "price": 3.1,
  "line_code": 4
}

application/xml, text/xml

Sample:
<QuantitiesPriceList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <keycode>1</keycode>
  <line_code>4</line_code>
  <price>3.1</price>
  <to_quan>2</to_quan>
</QuantitiesPriceList>

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 'QuantitiesPriceList'.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.