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
CartResponseModel| Name | 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": "e5583efc-2f05-4292-ab8c-a9992bd9e7a5",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "fec5f7ec-2bf8-471d-aebf-6ccd45ff9466",
"CartItems": [
{
"Id": "36c5c0aa-6c84-416d-9a70-0e88b2529b61",
"EventId": "6781296a-cf59-4aba-bf43-fa7be78cbc27",
"ProductId": "b9e455bb-1bf2-4ea1-a5c7-642f73480de7",
"TicketTypeId": "a16dbc2e-d2ce-41ec-9442-d4edb4850df4",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "3e194b61-ee72-48ed-a193-685a26d6d855",
"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": "9345a62d-1c5a-40e1-8061-daaf918dab66",
"SortOrder": 13
},
{
"Id": "36c5c0aa-6c84-416d-9a70-0e88b2529b61",
"EventId": "6781296a-cf59-4aba-bf43-fa7be78cbc27",
"ProductId": "b9e455bb-1bf2-4ea1-a5c7-642f73480de7",
"TicketTypeId": "a16dbc2e-d2ce-41ec-9442-d4edb4850df4",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "3e194b61-ee72-48ed-a193-685a26d6d855",
"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": "9345a62d-1c5a-40e1-8061-daaf918dab66",
"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>3e194b61-ee72-48ed-a193-685a26d6d855</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>6781296a-cf59-4aba-bf43-fa7be78cbc27</EventId>
<FirstName>sample string 4</FirstName>
<Id>36c5c0aa-6c84-416d-9a70-0e88b2529b61</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>b9e455bb-1bf2-4ea1-a5c7-642f73480de7</ProductId>
<SegmentId>9345a62d-1c5a-40e1-8061-daaf918dab66</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>a16dbc2e-d2ce-41ec-9442-d4edb4850df4</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>3e194b61-ee72-48ed-a193-685a26d6d855</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>6781296a-cf59-4aba-bf43-fa7be78cbc27</EventId>
<FirstName>sample string 4</FirstName>
<Id>36c5c0aa-6c84-416d-9a70-0e88b2529b61</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>b9e455bb-1bf2-4ea1-a5c7-642f73480de7</ProductId>
<SegmentId>9345a62d-1c5a-40e1-8061-daaf918dab66</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>a16dbc2e-d2ce-41ec-9442-d4edb4850df4</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>e5583efc-2f05-4292-ab8c-a9992bd9e7a5</Id>
<IsPaid>true</IsPaid>
<UniqueId>fec5f7ec-2bf8-471d-aebf-6ccd45ff9466</UniqueId>
</CartResponseModel>