GET api/Event/GetCurrentCart?userId={userId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
CartResponseModelName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
AppUserId | string |
None. |
|
IsPaid | boolean |
None. |
|
UniqueId | globally unique identifier |
None. |
|
CartItems | Collection of CartItemResponseModel |
None. |
|
Result | ResponseResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "17fbbfcf-1c5a-4209-962e-80d45d4410c0", "AppUserId": "sample string 2", "IsPaid": true, "UniqueId": "a3933035-e434-4d6f-b262-d3991ef8c6bf", "CartItems": [ { "Id": "9a510652-38e7-449b-882d-8c9c11776cc1", "EventId": "21ff0311-7db3-4792-9e54-c0af0dca1fef", "ProductId": "3e8e3c22-f41d-463e-bdb6-48f909a674b8", "TicketTypeId": "d5b544bb-955b-42bb-b4b8-848195f496e8", "UnitBasePrice": 2.0, "DeliveryCost": 3.0, "ClassifiedItemId": "c70090ff-b179-4e0c-94ea-bc0f3fa8ca77", "FirstName": "sample string 4", "LastName": "sample string 5", "EmailAddresss": "sample string 6", "Company": "sample string 7", "DietaryRequirements": "sample string 8", "DietaryRequirementsOther": "sample string 9", "AdditionalEventInformation": "sample string 10", "ShippingAddress": "sample string 11", "Mobile": "sample string 12", "SegmentId": "ea35bb66-d666-4e01-bad5-faf86ddb6bad", "SortOrder": 13 }, { "Id": "9a510652-38e7-449b-882d-8c9c11776cc1", "EventId": "21ff0311-7db3-4792-9e54-c0af0dca1fef", "ProductId": "3e8e3c22-f41d-463e-bdb6-48f909a674b8", "TicketTypeId": "d5b544bb-955b-42bb-b4b8-848195f496e8", "UnitBasePrice": 2.0, "DeliveryCost": 3.0, "ClassifiedItemId": "c70090ff-b179-4e0c-94ea-bc0f3fa8ca77", "FirstName": "sample string 4", "LastName": "sample string 5", "EmailAddresss": "sample string 6", "Company": "sample string 7", "DietaryRequirements": "sample string 8", "DietaryRequirementsOther": "sample string 9", "AdditionalEventInformation": "sample string 10", "ShippingAddress": "sample string 11", "Mobile": "sample string 12", "SegmentId": "ea35bb66-d666-4e01-bad5-faf86ddb6bad", "SortOrder": 13 } ], "Result": { "Success": true, "Message": "sample string 2", "Errors": [ { "Message": "sample string 1" }, { "Message": "sample string 1" } ] } }
application/xml, text/xml
Sample:
<CartResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bond.Core.API.Models.Response"> <Result> <Errors> <ErrorMessage> <Message>sample string 1</Message> </ErrorMessage> <ErrorMessage> <Message>sample string 1</Message> </ErrorMessage> </Errors> <Message>sample string 2</Message> <Success>true</Success> </Result> <AppUserId>sample string 2</AppUserId> <CartItems> <CartItemResponseModel> <AdditionalEventInformation>sample string 10</AdditionalEventInformation> <ClassifiedItemId>c70090ff-b179-4e0c-94ea-bc0f3fa8ca77</ClassifiedItemId> <Company>sample string 7</Company> <DeliveryCost>3</DeliveryCost> <DietaryRequirements>sample string 8</DietaryRequirements> <DietaryRequirementsOther>sample string 9</DietaryRequirementsOther> <EmailAddresss>sample string 6</EmailAddresss> <EventId>21ff0311-7db3-4792-9e54-c0af0dca1fef</EventId> <FirstName>sample string 4</FirstName> <Id>9a510652-38e7-449b-882d-8c9c11776cc1</Id> <LastName>sample string 5</LastName> <Mobile>sample string 12</Mobile> <ProductId>3e8e3c22-f41d-463e-bdb6-48f909a674b8</ProductId> <SegmentId>ea35bb66-d666-4e01-bad5-faf86ddb6bad</SegmentId> <ShippingAddress>sample string 11</ShippingAddress> <SortOrder>13</SortOrder> <TicketTypeId>d5b544bb-955b-42bb-b4b8-848195f496e8</TicketTypeId> <UnitBasePrice>2</UnitBasePrice> </CartItemResponseModel> <CartItemResponseModel> <AdditionalEventInformation>sample string 10</AdditionalEventInformation> <ClassifiedItemId>c70090ff-b179-4e0c-94ea-bc0f3fa8ca77</ClassifiedItemId> <Company>sample string 7</Company> <DeliveryCost>3</DeliveryCost> <DietaryRequirements>sample string 8</DietaryRequirements> <DietaryRequirementsOther>sample string 9</DietaryRequirementsOther> <EmailAddresss>sample string 6</EmailAddresss> <EventId>21ff0311-7db3-4792-9e54-c0af0dca1fef</EventId> <FirstName>sample string 4</FirstName> <Id>9a510652-38e7-449b-882d-8c9c11776cc1</Id> <LastName>sample string 5</LastName> <Mobile>sample string 12</Mobile> <ProductId>3e8e3c22-f41d-463e-bdb6-48f909a674b8</ProductId> <SegmentId>ea35bb66-d666-4e01-bad5-faf86ddb6bad</SegmentId> <ShippingAddress>sample string 11</ShippingAddress> <SortOrder>13</SortOrder> <TicketTypeId>d5b544bb-955b-42bb-b4b8-848195f496e8</TicketTypeId> <UnitBasePrice>2</UnitBasePrice> </CartItemResponseModel> </CartItems> <Id>17fbbfcf-1c5a-4209-962e-80d45d4410c0</Id> <IsPaid>true</IsPaid> <UniqueId>a3933035-e434-4d6f-b262-d3991ef8c6bf</UniqueId> </CartResponseModel>