POST api/IC_STOCK_PRICES/PostIC_STOCK_PRICES

Request Information

URI Parameters

None.

Body Parameters

IC_STOCK_PRICES
NameDescriptionTypeAdditional information
PRICE_IDENTITY

integer

None.

STOCK_ID

integer

None.

PRODUCT_ID

integer

None.

IN_PRICE

decimal number

None.

OUT_PRICE

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "PRICE_IDENTITY": 1,
  "STOCK_ID": 1,
  "PRODUCT_ID": 1,
  "IN_PRICE": 1.0,
  "OUT_PRICE": 1.0
}

application/xml, text/xml

Sample:
<IC_STOCK_PRICES xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgdamDondurma.Models">
  <IN_PRICE>1</IN_PRICE>
  <OUT_PRICE>1</OUT_PRICE>
  <PRICE_IDENTITY>1</PRICE_IDENTITY>
  <PRODUCT_ID>1</PRODUCT_ID>
  <STOCK_ID>1</STOCK_ID>
</IC_STOCK_PRICES>

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

Response Information

Resource Description

IC_STOCK_PRICES
NameDescriptionTypeAdditional information
PRICE_IDENTITY

integer

None.

STOCK_ID

integer

None.

PRODUCT_ID

integer

None.

IN_PRICE

decimal number

None.

OUT_PRICE

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "PRICE_IDENTITY": 1,
  "STOCK_ID": 1,
  "PRODUCT_ID": 1,
  "IN_PRICE": 1.0,
  "OUT_PRICE": 1.0
}

application/xml, text/xml

Sample:
<IC_STOCK_PRICES xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgdamDondurma.Models">
  <IN_PRICE>1</IN_PRICE>
  <OUT_PRICE>1</OUT_PRICE>
  <PRICE_IDENTITY>1</PRICE_IDENTITY>
  <PRODUCT_ID>1</PRODUCT_ID>
  <STOCK_ID>1</STOCK_ID>
</IC_STOCK_PRICES>