POST api/Cart/AddCart

Request Information

URI Parameters

None.

Body Parameters

Cart
NameDescriptionTypeAdditional information
CartId

integer

None.

Customer_Id

integer

None.

Customer

string

None.

Product_Id

integer

None.

Product

string

None.

Photo

string

None.

Quantity

string

None.

Size_Id

string

None.

Status

string

None.

Date

string

None.

Rate

string

None.

Total

decimal number

None.

SessionId

string

None.

Qty

integer

None.

TotalRate

string

None.

OriginalRate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CartId": 1,
  "Customer_Id": 2,
  "Customer": "sample string 3",
  "Product_Id": 4,
  "Product": "sample string 5",
  "Photo": "sample string 6",
  "Quantity": "sample string 7",
  "Size_Id": "sample string 8",
  "Status": "sample string 9",
  "Date": "sample string 10",
  "Rate": "sample string 11",
  "Total": 12.1,
  "SessionId": "sample string 13",
  "Qty": 14,
  "TotalRate": "sample string 15",
  "OriginalRate": "sample string 16"
}

application/octet-stream

Sample:
{"$id":"1","CartId":1,"Customer_Id":2,"Customer":"sample string 3","Product_Id":4,"Product":"sample string 5","Photo":"sample string 6","Quantity":"sample string 7","Size_Id":"sample string 8","Status":"sample string 9","Date":"sample string 10","Rate":"sample string 11","Total":12.1,"SessionId":"sample string 13","Qty":14,"TotalRate":"sample string 15","OriginalRate":"sample string 16"}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.