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": "8064831c-0b53-4055-be25-53d249dce4bd",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "fe85bc34-ea34-45db-b5e9-8fb0728bf0f0",
"CartItems": [
{
"Id": "00af5bd0-9df6-4f9b-a78d-168a2aac9f28",
"EventId": "43dc8c10-8f42-4c8e-8be7-d0d5db607d28",
"ProductId": "45759e2a-2100-45b8-858d-66a6fea5c839",
"TicketTypeId": "7c5c0522-534a-4e4f-8738-61e4ea9fddc7",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "7a6308d0-606e-4ce7-baab-97838eb39cd6",
"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": "6481fd7f-c879-4b6a-a09c-837c14e11b8e",
"SortOrder": 13
},
{
"Id": "00af5bd0-9df6-4f9b-a78d-168a2aac9f28",
"EventId": "43dc8c10-8f42-4c8e-8be7-d0d5db607d28",
"ProductId": "45759e2a-2100-45b8-858d-66a6fea5c839",
"TicketTypeId": "7c5c0522-534a-4e4f-8738-61e4ea9fddc7",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "7a6308d0-606e-4ce7-baab-97838eb39cd6",
"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": "6481fd7f-c879-4b6a-a09c-837c14e11b8e",
"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>7a6308d0-606e-4ce7-baab-97838eb39cd6</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>43dc8c10-8f42-4c8e-8be7-d0d5db607d28</EventId>
<FirstName>sample string 4</FirstName>
<Id>00af5bd0-9df6-4f9b-a78d-168a2aac9f28</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>45759e2a-2100-45b8-858d-66a6fea5c839</ProductId>
<SegmentId>6481fd7f-c879-4b6a-a09c-837c14e11b8e</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>7c5c0522-534a-4e4f-8738-61e4ea9fddc7</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>7a6308d0-606e-4ce7-baab-97838eb39cd6</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>43dc8c10-8f42-4c8e-8be7-d0d5db607d28</EventId>
<FirstName>sample string 4</FirstName>
<Id>00af5bd0-9df6-4f9b-a78d-168a2aac9f28</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>45759e2a-2100-45b8-858d-66a6fea5c839</ProductId>
<SegmentId>6481fd7f-c879-4b6a-a09c-837c14e11b8e</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>7c5c0522-534a-4e4f-8738-61e4ea9fddc7</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>8064831c-0b53-4055-be25-53d249dce4bd</Id>
<IsPaid>true</IsPaid>
<UniqueId>fe85bc34-ea34-45db-b5e9-8fb0728bf0f0</UniqueId>
</CartResponseModel>