POST api/campaigns/addtocart
Request Information
URI Parameters
None.
Body Parameters
UserCart| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| UserID | integer |
None. |
|
| CampaignID | integer |
None. |
|
| Quantity | integer |
None. |
|
| CreatedDate | date |
None. |
|
| OfferID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"UserID": 1,
"CampaignID": 1,
"Quantity": 1,
"CreatedDate": "2025-12-11T01:49:13.428068-05:00",
"OfferID": 1
}
application/xml, text/xml
Sample:
<UserCart xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WC_API.Models"> <CampaignID>1</CampaignID> <CreatedDate>2025-12-11T01:49:13.428068-05:00</CreatedDate> <ID>1</ID> <OfferID>1</OfferID> <Quantity>1</Quantity> <UserID>1</UserID> </UserCart>
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.