POST api/UserApi/AddCart
Request Information
URI Parameters
None.
Body Parameters
BOCartRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | string |
None. |
|
| UserIDs | string |
None. |
|
| ProductID | integer |
None. |
|
| ColorId | integer |
None. |
|
| SizeId | integer |
None. |
|
| Quantity | integer |
None. |
|
| Status | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserID": "sample string 1",
"UserIDs": "sample string 2",
"ProductID": 3,
"ColorId": 4,
"SizeId": 5,
"Quantity": 6,
"Status": 7
}
application/xml, text/xml
Sample:
<BOCartRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BO.Cart"> <ColorId>4</ColorId> <ProductID>3</ProductID> <Quantity>6</Quantity> <SizeId>5</SizeId> <Status>7</Status> <UserID>sample string 1</UserID> <UserIDs>sample string 2</UserIDs> </BOCartRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.