POST api/ProductSize/AddProductSize

Request Information

URI Parameters

None.

Body Parameters

ProductSize
NameDescriptionTypeAdditional information
Id

integer

None.

Product_Id

integer

None.

Product

string

None.

Size_Id

integer

None.

Size

string

None.

Unit_Id

integer

None.

Unit

string

None.

Rate

string

None.

Offer_Price

string

None.

finalrate

string

None.

Stock

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Product_Id": 2,
  "Product": "sample string 3",
  "Size_Id": 4,
  "Size": "sample string 5",
  "Unit_Id": 6,
  "Unit": "sample string 7",
  "Rate": "sample string 8",
  "Offer_Price": "sample string 9",
  "finalrate": "sample string 10",
  "Stock": "sample string 11"
}

application/octet-stream

Sample:
{"$id":"1","Id":1,"Product_Id":2,"Product":"sample string 3","Size_Id":4,"Size":"sample string 5","Unit_Id":6,"Unit":"sample string 7","Rate":"sample string 8","Offer_Price":"sample string 9","finalrate":"sample string 10","Stock":"sample string 11"}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream

Sample:

Sample not available.