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": "17d4a4f0-78b8-4f42-8961-4a7a7b06bd21",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "07eb5b66-c887-43a4-8dbd-a699203355de",
"CartItems": [
{
"Id": "1807c86c-2278-4fd1-9dda-8fe5c347ed59",
"EventId": "be94dd58-8488-4f50-8c1b-70198b96e15e",
"ProductId": "94a14ecb-2582-49c6-a5d7-aeb53c1068fe",
"TicketTypeId": "61815e62-90ba-4f4a-a88e-707c1b50244d",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "75d71f96-f772-4310-9fd4-830f82df89b6",
"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": "58be35dd-183f-465a-aed7-34195b079497",
"SortOrder": 13
},
{
"Id": "1807c86c-2278-4fd1-9dda-8fe5c347ed59",
"EventId": "be94dd58-8488-4f50-8c1b-70198b96e15e",
"ProductId": "94a14ecb-2582-49c6-a5d7-aeb53c1068fe",
"TicketTypeId": "61815e62-90ba-4f4a-a88e-707c1b50244d",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "75d71f96-f772-4310-9fd4-830f82df89b6",
"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": "58be35dd-183f-465a-aed7-34195b079497",
"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>75d71f96-f772-4310-9fd4-830f82df89b6</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>be94dd58-8488-4f50-8c1b-70198b96e15e</EventId>
<FirstName>sample string 4</FirstName>
<Id>1807c86c-2278-4fd1-9dda-8fe5c347ed59</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>94a14ecb-2582-49c6-a5d7-aeb53c1068fe</ProductId>
<SegmentId>58be35dd-183f-465a-aed7-34195b079497</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>61815e62-90ba-4f4a-a88e-707c1b50244d</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>75d71f96-f772-4310-9fd4-830f82df89b6</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>be94dd58-8488-4f50-8c1b-70198b96e15e</EventId>
<FirstName>sample string 4</FirstName>
<Id>1807c86c-2278-4fd1-9dda-8fe5c347ed59</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>94a14ecb-2582-49c6-a5d7-aeb53c1068fe</ProductId>
<SegmentId>58be35dd-183f-465a-aed7-34195b079497</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>61815e62-90ba-4f4a-a88e-707c1b50244d</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>17d4a4f0-78b8-4f42-8961-4a7a7b06bd21</Id>
<IsPaid>true</IsPaid>
<UniqueId>07eb5b66-c887-43a4-8dbd-a699203355de</UniqueId>
</CartResponseModel>