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. |
|
| CartItemID | 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,
"CartItemID": 4,
"ColorId": 5,
"SizeId": 6,
"Quantity": 7,
"Status": 8
}
application/xml, text/xml
Sample:
<BOCartRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BO.Cart"> <CartItemID>4</CartItemID> <ColorId>5</ColorId> <ProductID>3</ProductID> <Quantity>7</Quantity> <SizeId>6</SizeId> <Status>8</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.