GET api/ShoppingCartItems?shoppingCartId={shoppingCartId}&sessionAttendeeId={sessionAttendeeId}&webProductId={webProductId}
Retrieve a list of active shopping cart items by Shopping Cart ID and Session Attendee ID.
Possible Service Responses:
200/OK - a list of active shopping cart items are returned in the body of the response.
404/Shopping Cart Items Not Found - no available shopping cart items found.
500/Internal Server - unexpected server error, details in the body of the response.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
shoppingCartId | System.String |
Required |
|
sessionAttendeeId | System.String |
Required |
|
webProductId | System.String |
Required |
Body Parameters
None.
Response Information
Resource Description
A list of events
System.Collections.Generic.IEnumerable`1[Altai.Web.Services.Models.ShoppingCartItem]Name | Description | Type | Additional information |
---|---|---|---|
Id | System.String |
None. |
|
ShoppingCartId | System.String |
None. |
|
WebProductId | System.String |
None. |
|
Name | System.String |
None. |
|
AttendeeId | System.String |
None. |
|
AttendeeName | System.String |
None. |
|
FormStatus | System.String |
None. |
|
FormName | System.String |
None. |
|
Quantity | System.Int32 |
None. |
|
Price | System.Decimal |
None. |
|
TotalPrice | System.Decimal |
None. |
|
ProgramName | System.String |
None. |
|
ProgramDescription | System.String |
None. |
|
ProgramPrice | System.Decimal |
None. |
|
IsDonation | System.Boolean |
None. |
|
RecurringBilling | System.Boolean |
None. |
|
SessionOption | Altai.Web.Services.Models.SessionOption |
None. |
|
Discount | System.Decimal |
None. |
|
ParentWebProductId | System.Guid |
None. |
|
CouponId | System.String |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": "sample string 1", "ShoppingCartId": "sample string 2", "WebProductId": "sample string 3", "Name": "sample string 4", "AttendeeId": "sample string 5", "AttendeeName": "sample string 6", "FormStatus": "sample string 7", "FormName": "sample string 8", "Quantity": 9, "Price": 10.0, "TotalPrice": 11.0, "ProgramName": "sample string 12", "ProgramDescription": "sample string 13", "ProgramPrice": 14.0, "IsDonation": true, "RecurringBilling": true, "SessionOption": { "Id": "sample string 1", "Name": "sample string 2", "SessionId": "sample string 3" }, "Discount": 17.0, "ParentWebProductId": "62df7dd9-8010-46a8-bb43-5fc8a77725bc", "CouponId": "sample string 18" }, { "Id": "sample string 1", "ShoppingCartId": "sample string 2", "WebProductId": "sample string 3", "Name": "sample string 4", "AttendeeId": "sample string 5", "AttendeeName": "sample string 6", "FormStatus": "sample string 7", "FormName": "sample string 8", "Quantity": 9, "Price": 10.0, "TotalPrice": 11.0, "ProgramName": "sample string 12", "ProgramDescription": "sample string 13", "ProgramPrice": 14.0, "IsDonation": true, "RecurringBilling": true, "SessionOption": { "Id": "sample string 1", "Name": "sample string 2", "SessionId": "sample string 3" }, "Discount": 17.0, "ParentWebProductId": "62df7dd9-8010-46a8-bb43-5fc8a77725bc", "CouponId": "sample string 18" } ]
application/xml, text/xml
Sample:
<ArrayOfShoppingCartItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Altai.Web.Services.Models"> <ShoppingCartItem> <AttendeeId>sample string 5</AttendeeId> <AttendeeName>sample string 6</AttendeeName> <CouponId>sample string 18</CouponId> <Discount>17</Discount> <FormName>sample string 8</FormName> <FormStatus>sample string 7</FormStatus> <Id>sample string 1</Id> <IsDonation>true</IsDonation> <Name>sample string 4</Name> <ParentWebProductId>62df7dd9-8010-46a8-bb43-5fc8a77725bc</ParentWebProductId> <Price>10</Price> <ProgramDescription>sample string 13</ProgramDescription> <ProgramName>sample string 12</ProgramName> <ProgramPrice>14</ProgramPrice> <Quantity>9</Quantity> <RecurringBilling>true</RecurringBilling> <SessionOption> <Id>sample string 1</Id> <Name>sample string 2</Name> <SessionId>sample string 3</SessionId> </SessionOption> <ShoppingCartId>sample string 2</ShoppingCartId> <TotalPrice>11</TotalPrice> <WebProductId>sample string 3</WebProductId> </ShoppingCartItem> <ShoppingCartItem> <AttendeeId>sample string 5</AttendeeId> <AttendeeName>sample string 6</AttendeeName> <CouponId>sample string 18</CouponId> <Discount>17</Discount> <FormName>sample string 8</FormName> <FormStatus>sample string 7</FormStatus> <Id>sample string 1</Id> <IsDonation>true</IsDonation> <Name>sample string 4</Name> <ParentWebProductId>62df7dd9-8010-46a8-bb43-5fc8a77725bc</ParentWebProductId> <Price>10</Price> <ProgramDescription>sample string 13</ProgramDescription> <ProgramName>sample string 12</ProgramName> <ProgramPrice>14</ProgramPrice> <Quantity>9</Quantity> <RecurringBilling>true</RecurringBilling> <SessionOption> <Id>sample string 1</Id> <Name>sample string 2</Name> <SessionId>sample string 3</SessionId> </SessionOption> <ShoppingCartId>sample string 2</ShoppingCartId> <TotalPrice>11</TotalPrice> <WebProductId>sample string 3</WebProductId> </ShoppingCartItem> </ArrayOfShoppingCartItem>