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": "b78c4399-dcfa-490d-b19f-361cbf2580ec",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "18e71097-3258-403a-8879-f50f83aec297",
"CartItems": [
{
"Id": "cdb98984-6af5-42ed-8785-eb948439d3f0",
"EventId": "cdc42c78-db19-4eb2-a5b9-ba51b37e7ba0",
"ProductId": "a2eb1d54-3316-4690-89c5-9ed971a8b300",
"TicketTypeId": "95faa2a6-ab23-4857-a6f2-717984bf6fec",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "c1257dff-f7fd-4475-a4c7-63c451429747",
"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": "7c3abe4f-9e70-4234-b530-6910defd4958",
"SortOrder": 13
},
{
"Id": "cdb98984-6af5-42ed-8785-eb948439d3f0",
"EventId": "cdc42c78-db19-4eb2-a5b9-ba51b37e7ba0",
"ProductId": "a2eb1d54-3316-4690-89c5-9ed971a8b300",
"TicketTypeId": "95faa2a6-ab23-4857-a6f2-717984bf6fec",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "c1257dff-f7fd-4475-a4c7-63c451429747",
"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": "7c3abe4f-9e70-4234-b530-6910defd4958",
"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>c1257dff-f7fd-4475-a4c7-63c451429747</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>cdc42c78-db19-4eb2-a5b9-ba51b37e7ba0</EventId>
<FirstName>sample string 4</FirstName>
<Id>cdb98984-6af5-42ed-8785-eb948439d3f0</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>a2eb1d54-3316-4690-89c5-9ed971a8b300</ProductId>
<SegmentId>7c3abe4f-9e70-4234-b530-6910defd4958</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>95faa2a6-ab23-4857-a6f2-717984bf6fec</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>c1257dff-f7fd-4475-a4c7-63c451429747</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>cdc42c78-db19-4eb2-a5b9-ba51b37e7ba0</EventId>
<FirstName>sample string 4</FirstName>
<Id>cdb98984-6af5-42ed-8785-eb948439d3f0</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>a2eb1d54-3316-4690-89c5-9ed971a8b300</ProductId>
<SegmentId>7c3abe4f-9e70-4234-b530-6910defd4958</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>95faa2a6-ab23-4857-a6f2-717984bf6fec</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>b78c4399-dcfa-490d-b19f-361cbf2580ec</Id>
<IsPaid>true</IsPaid>
<UniqueId>18e71097-3258-403a-8879-f50f83aec297</UniqueId>
</CartResponseModel>