GET api/Cart/GetCartByCustomerId?CustomerId={CustomerId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CustomerId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CartName | Description | Type | Additional 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. |
Response Formats
application/json, text/json
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" }, { "$ref": "1" } ]
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"},{"$ref":"1"}]