POST api/Order/InsertOrderDetails

Request Information

URI Parameters

None.

Body Parameters

OrderDetails
NameDescriptionTypeAdditional information
Id

integer

None.

Order_Id

integer

None.

Product_Id

integer

None.

Product

string

None.

Quantity

string

None.

Rate

string

None.

MRP

string

None.

Amount

string

None.

Size_Id

string

None.

Qty

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Order_Id": 2,
  "Product_Id": 3,
  "Product": "sample string 4",
  "Quantity": "sample string 5",
  "Rate": "sample string 6",
  "MRP": "sample string 7",
  "Amount": "sample string 8",
  "Size_Id": "sample string 9",
  "Qty": 10
}

application/octet-stream

Sample:
{"$id":"1","Id":1,"Order_Id":2,"Product_Id":3,"Product":"sample string 4","Quantity":"sample string 5","Rate":"sample string 6","MRP":"sample string 7","Amount":"sample string 8","Size_Id":"sample string 9","Qty":10}

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.