POST api/IC_PRODUCT_BOOK/PostIC_PRODUCT_BOOK

Request Information

URI Parameters

None.

Body Parameters

IC_PRODUCT_BOOK
NameDescriptionTypeAdditional information
IC_PRODUCT_ID

integer

None.

IC_PRODUCT_NAME

string

None.

IC_PRODUCT_GROUP

integer

None.

IC_PRODUCT_TYPE

integer

None.

IC_IN_PRICE

decimal number

None.

IC_OUT_PRICE

decimal number

None.

PRODUCT_SALE_GROUP

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IC_PRODUCT_ID": 1,
  "IC_PRODUCT_NAME": "sample string 2",
  "IC_PRODUCT_GROUP": 1,
  "IC_PRODUCT_TYPE": 1,
  "IC_IN_PRICE": 1.0,
  "IC_OUT_PRICE": 1.0,
  "PRODUCT_SALE_GROUP": 1
}

application/xml, text/xml

Sample:
<IC_PRODUCT_BOOK xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgdamDondurma.Models">
  <IC_IN_PRICE>1</IC_IN_PRICE>
  <IC_OUT_PRICE>1</IC_OUT_PRICE>
  <IC_PRODUCT_GROUP>1</IC_PRODUCT_GROUP>
  <IC_PRODUCT_ID>1</IC_PRODUCT_ID>
  <IC_PRODUCT_NAME>sample string 2</IC_PRODUCT_NAME>
  <IC_PRODUCT_TYPE>1</IC_PRODUCT_TYPE>
  <PRODUCT_SALE_GROUP>1</PRODUCT_SALE_GROUP>
</IC_PRODUCT_BOOK>

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

Response Information

Resource Description

IC_PRODUCT_BOOK
NameDescriptionTypeAdditional information
IC_PRODUCT_ID

integer

None.

IC_PRODUCT_NAME

string

None.

IC_PRODUCT_GROUP

integer

None.

IC_PRODUCT_TYPE

integer

None.

IC_IN_PRICE

decimal number

None.

IC_OUT_PRICE

decimal number

None.

PRODUCT_SALE_GROUP

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "IC_PRODUCT_ID": 1,
  "IC_PRODUCT_NAME": "sample string 2",
  "IC_PRODUCT_GROUP": 1,
  "IC_PRODUCT_TYPE": 1,
  "IC_IN_PRICE": 1.0,
  "IC_OUT_PRICE": 1.0,
  "PRODUCT_SALE_GROUP": 1
}

application/xml, text/xml

Sample:
<IC_PRODUCT_BOOK xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgdamDondurma.Models">
  <IC_IN_PRICE>1</IC_IN_PRICE>
  <IC_OUT_PRICE>1</IC_OUT_PRICE>
  <IC_PRODUCT_GROUP>1</IC_PRODUCT_GROUP>
  <IC_PRODUCT_ID>1</IC_PRODUCT_ID>
  <IC_PRODUCT_NAME>sample string 2</IC_PRODUCT_NAME>
  <IC_PRODUCT_TYPE>1</IC_PRODUCT_TYPE>
  <PRODUCT_SALE_GROUP>1</PRODUCT_SALE_GROUP>
</IC_PRODUCT_BOOK>