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": "3970acbc-5fba-4400-a59a-f93bcffb32eb",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "23c3d3a4-0f28-442c-b52b-0f3840dec389",
"CartItems": [
{
"Id": "f5c006e2-37c9-4b4c-9f84-b066199c659c",
"EventId": "e4e6315f-9146-4b8e-a0c5-f643fb0ca485",
"ProductId": "15606af6-1ab9-460b-b0a7-ed7ca83251be",
"TicketTypeId": "6011aea8-41a4-4106-95ce-8896a61651d1",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "806a7f4d-8743-4e03-9adf-5228af77c8b3",
"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": "1fb102c9-830b-483f-a542-e1c7f9259908",
"SortOrder": 13
},
{
"Id": "f5c006e2-37c9-4b4c-9f84-b066199c659c",
"EventId": "e4e6315f-9146-4b8e-a0c5-f643fb0ca485",
"ProductId": "15606af6-1ab9-460b-b0a7-ed7ca83251be",
"TicketTypeId": "6011aea8-41a4-4106-95ce-8896a61651d1",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "806a7f4d-8743-4e03-9adf-5228af77c8b3",
"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": "1fb102c9-830b-483f-a542-e1c7f9259908",
"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>806a7f4d-8743-4e03-9adf-5228af77c8b3</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>e4e6315f-9146-4b8e-a0c5-f643fb0ca485</EventId>
<FirstName>sample string 4</FirstName>
<Id>f5c006e2-37c9-4b4c-9f84-b066199c659c</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>15606af6-1ab9-460b-b0a7-ed7ca83251be</ProductId>
<SegmentId>1fb102c9-830b-483f-a542-e1c7f9259908</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>6011aea8-41a4-4106-95ce-8896a61651d1</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>806a7f4d-8743-4e03-9adf-5228af77c8b3</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>e4e6315f-9146-4b8e-a0c5-f643fb0ca485</EventId>
<FirstName>sample string 4</FirstName>
<Id>f5c006e2-37c9-4b4c-9f84-b066199c659c</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>15606af6-1ab9-460b-b0a7-ed7ca83251be</ProductId>
<SegmentId>1fb102c9-830b-483f-a542-e1c7f9259908</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>6011aea8-41a4-4106-95ce-8896a61651d1</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>3970acbc-5fba-4400-a59a-f93bcffb32eb</Id>
<IsPaid>true</IsPaid>
<UniqueId>23c3d3a4-0f28-442c-b52b-0f3840dec389</UniqueId>
</CartResponseModel>