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": "e87ef1cc-70d7-491b-b10f-7b01b7bfa90c",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "a7605f2b-8f9a-4595-aa4d-c6c0f4f935cb",
"CartItems": [
{
"Id": "286e0db2-8ed4-4766-ab75-cc01eec4f33c",
"EventId": "8892d92f-f21f-425a-b4d0-6311bb6cc0c1",
"ProductId": "a358d4d1-5271-4c49-a7b3-9817ed449975",
"TicketTypeId": "e640ba7a-dbb3-427e-bd89-df7ffb639a5b",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "2ffcbf84-5932-4cb1-9884-8c155d6fd887",
"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": "71f96d44-4edc-4fd7-8d5f-79ace9a1df54",
"SortOrder": 13
},
{
"Id": "286e0db2-8ed4-4766-ab75-cc01eec4f33c",
"EventId": "8892d92f-f21f-425a-b4d0-6311bb6cc0c1",
"ProductId": "a358d4d1-5271-4c49-a7b3-9817ed449975",
"TicketTypeId": "e640ba7a-dbb3-427e-bd89-df7ffb639a5b",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "2ffcbf84-5932-4cb1-9884-8c155d6fd887",
"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": "71f96d44-4edc-4fd7-8d5f-79ace9a1df54",
"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>2ffcbf84-5932-4cb1-9884-8c155d6fd887</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>8892d92f-f21f-425a-b4d0-6311bb6cc0c1</EventId>
<FirstName>sample string 4</FirstName>
<Id>286e0db2-8ed4-4766-ab75-cc01eec4f33c</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>a358d4d1-5271-4c49-a7b3-9817ed449975</ProductId>
<SegmentId>71f96d44-4edc-4fd7-8d5f-79ace9a1df54</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>e640ba7a-dbb3-427e-bd89-df7ffb639a5b</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>2ffcbf84-5932-4cb1-9884-8c155d6fd887</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>8892d92f-f21f-425a-b4d0-6311bb6cc0c1</EventId>
<FirstName>sample string 4</FirstName>
<Id>286e0db2-8ed4-4766-ab75-cc01eec4f33c</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>a358d4d1-5271-4c49-a7b3-9817ed449975</ProductId>
<SegmentId>71f96d44-4edc-4fd7-8d5f-79ace9a1df54</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>e640ba7a-dbb3-427e-bd89-df7ffb639a5b</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>e87ef1cc-70d7-491b-b10f-7b01b7bfa90c</Id>
<IsPaid>true</IsPaid>
<UniqueId>a7605f2b-8f9a-4595-aa4d-c6c0f4f935cb</UniqueId>
</CartResponseModel>