POST api/cart/addItem?isErrorTest={isErrorTest}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| isErrorTest | boolean |
Default value is False |
Body Parameters
Collection of Rf_ShoppingCartItemModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CartId | integer |
None. |
|
| OfflineID | string |
None. |
|
| MemberID | integer |
None. |
|
| ProductType | integer |
None. |
|
| ProductTypeEnum | CART_PRODUCT_TYPES |
None. |
|
| ProductType_ExtID | integer |
None. |
|
| Title | string |
None. |
|
| Description | string |
None. |
|
| Quantity | integer |
None. |
|
| Price | decimal number |
None. |
|
| RetailPrice | decimal number |
None. |
|
| DiscountAmount | decimal number |
None. |
|
| CouponMessage | string |
None. |
|
| TotalHours | decimal number |
None. |
|
| OnDemandHours | decimal number |
None. |
|
| LiveHours | decimal number |
None. |
|
| StateIds | string |
None. |
|
| ReferredBy | integer |
None. |
|
| IsPartialLive | boolean |
None. |
|
| PartialHours | decimal number |
None. |
|
| PricingCampaignID | integer |
None. |
|
| ItemID | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"CartId": 1,
"OfflineID": "sample string 2",
"MemberID": 1,
"ProductType": 1,
"ProductTypeEnum": 0,
"ProductType_ExtID": 1,
"Title": "sample string 3",
"Description": "sample string 4",
"Quantity": 1,
"Price": 1.0,
"RetailPrice": 1.0,
"DiscountAmount": 1.0,
"CouponMessage": "sample string 5",
"TotalHours": 1.0,
"OnDemandHours": 1.0,
"LiveHours": 1.0,
"StateIds": "sample string 6",
"ReferredBy": 7,
"IsPartialLive": true,
"PartialHours": 9.0,
"PricingCampaignID": 10,
"ItemID": 11
},
{
"CartId": 1,
"OfflineID": "sample string 2",
"MemberID": 1,
"ProductType": 1,
"ProductTypeEnum": 0,
"ProductType_ExtID": 1,
"Title": "sample string 3",
"Description": "sample string 4",
"Quantity": 1,
"Price": 1.0,
"RetailPrice": 1.0,
"DiscountAmount": 1.0,
"CouponMessage": "sample string 5",
"TotalHours": 1.0,
"OnDemandHours": 1.0,
"LiveHours": 1.0,
"StateIds": "sample string 6",
"ReferredBy": 7,
"IsPartialLive": true,
"PartialHours": 9.0,
"PricingCampaignID": 10,
"ItemID": 11
}
]
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.