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": "2c62d2f1-e9ce-47d7-861e-fe9fceeb952f",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "fc2b34b9-7bb8-433c-8458-85e313fd1e5d",
"CartItems": [
{
"Id": "cabe71cc-0837-4fa8-a090-490513156f44",
"EventId": "b566bb72-26be-4df4-bcf5-4a384a464e6d",
"ProductId": "eff1656c-0cea-4cd1-825d-1826ef0c995b",
"TicketTypeId": "6e6a5be7-c26b-432c-abeb-9422012f48e9",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "c33730b1-4694-47d5-8139-8b5fabbf9c9d",
"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": "9a4f95a4-0a0c-4153-af15-1e7aafe93b55",
"SortOrder": 13
},
{
"Id": "cabe71cc-0837-4fa8-a090-490513156f44",
"EventId": "b566bb72-26be-4df4-bcf5-4a384a464e6d",
"ProductId": "eff1656c-0cea-4cd1-825d-1826ef0c995b",
"TicketTypeId": "6e6a5be7-c26b-432c-abeb-9422012f48e9",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "c33730b1-4694-47d5-8139-8b5fabbf9c9d",
"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": "9a4f95a4-0a0c-4153-af15-1e7aafe93b55",
"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>c33730b1-4694-47d5-8139-8b5fabbf9c9d</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>b566bb72-26be-4df4-bcf5-4a384a464e6d</EventId>
<FirstName>sample string 4</FirstName>
<Id>cabe71cc-0837-4fa8-a090-490513156f44</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>eff1656c-0cea-4cd1-825d-1826ef0c995b</ProductId>
<SegmentId>9a4f95a4-0a0c-4153-af15-1e7aafe93b55</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>6e6a5be7-c26b-432c-abeb-9422012f48e9</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>c33730b1-4694-47d5-8139-8b5fabbf9c9d</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>b566bb72-26be-4df4-bcf5-4a384a464e6d</EventId>
<FirstName>sample string 4</FirstName>
<Id>cabe71cc-0837-4fa8-a090-490513156f44</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>eff1656c-0cea-4cd1-825d-1826ef0c995b</ProductId>
<SegmentId>9a4f95a4-0a0c-4153-af15-1e7aafe93b55</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>6e6a5be7-c26b-432c-abeb-9422012f48e9</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>2c62d2f1-e9ce-47d7-861e-fe9fceeb952f</Id>
<IsPaid>true</IsPaid>
<UniqueId>fc2b34b9-7bb8-433c-8458-85e313fd1e5d</UniqueId>
</CartResponseModel>