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": "68464022-6373-4fae-b39e-fe0f0fb7960a",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "4fff0316-9af3-498b-a937-e4da304d2be6",
"CartItems": [
{
"Id": "c6dfe976-9aa4-4211-a5e0-338c3e653a24",
"EventId": "17b0ef83-6ce8-40cf-a709-61a39ecf89dd",
"ProductId": "e813e66c-8674-45dc-aab8-507b5b879d09",
"TicketTypeId": "dc35722f-fdbe-4207-b9af-8e845c2ae83d",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "7c500b3d-2918-49b4-8247-da7f16348992",
"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": "0aa51278-6817-47f4-8ca3-c06b4f307ae3",
"SortOrder": 13
},
{
"Id": "c6dfe976-9aa4-4211-a5e0-338c3e653a24",
"EventId": "17b0ef83-6ce8-40cf-a709-61a39ecf89dd",
"ProductId": "e813e66c-8674-45dc-aab8-507b5b879d09",
"TicketTypeId": "dc35722f-fdbe-4207-b9af-8e845c2ae83d",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "7c500b3d-2918-49b4-8247-da7f16348992",
"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": "0aa51278-6817-47f4-8ca3-c06b4f307ae3",
"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>7c500b3d-2918-49b4-8247-da7f16348992</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>17b0ef83-6ce8-40cf-a709-61a39ecf89dd</EventId>
<FirstName>sample string 4</FirstName>
<Id>c6dfe976-9aa4-4211-a5e0-338c3e653a24</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>e813e66c-8674-45dc-aab8-507b5b879d09</ProductId>
<SegmentId>0aa51278-6817-47f4-8ca3-c06b4f307ae3</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>dc35722f-fdbe-4207-b9af-8e845c2ae83d</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>7c500b3d-2918-49b4-8247-da7f16348992</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>17b0ef83-6ce8-40cf-a709-61a39ecf89dd</EventId>
<FirstName>sample string 4</FirstName>
<Id>c6dfe976-9aa4-4211-a5e0-338c3e653a24</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>e813e66c-8674-45dc-aab8-507b5b879d09</ProductId>
<SegmentId>0aa51278-6817-47f4-8ca3-c06b4f307ae3</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>dc35722f-fdbe-4207-b9af-8e845c2ae83d</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>68464022-6373-4fae-b39e-fe0f0fb7960a</Id>
<IsPaid>true</IsPaid>
<UniqueId>4fff0316-9af3-498b-a937-e4da304d2be6</UniqueId>
</CartResponseModel>