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": "4c1ab12d-8960-4041-9a09-5af5b62dda41",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "482ae6aa-493d-4891-934b-9ef7a056c7fd",
"CartItems": [
{
"Id": "24e96566-1cb5-431c-b22e-761871341c3f",
"EventId": "ee92516f-32e5-42eb-990d-fd8676476543",
"ProductId": "1b024cd9-fb7d-421e-8fd3-9f13c67eadf2",
"TicketTypeId": "dcc6790f-b6e7-4df7-8396-fd62fd688b87",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "151d93bd-db2f-438c-a1bf-a95fd4b11219",
"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": "f7ea6a5b-20d8-4850-9738-292d78ff61e3",
"SortOrder": 13
},
{
"Id": "24e96566-1cb5-431c-b22e-761871341c3f",
"EventId": "ee92516f-32e5-42eb-990d-fd8676476543",
"ProductId": "1b024cd9-fb7d-421e-8fd3-9f13c67eadf2",
"TicketTypeId": "dcc6790f-b6e7-4df7-8396-fd62fd688b87",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "151d93bd-db2f-438c-a1bf-a95fd4b11219",
"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": "f7ea6a5b-20d8-4850-9738-292d78ff61e3",
"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>151d93bd-db2f-438c-a1bf-a95fd4b11219</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>ee92516f-32e5-42eb-990d-fd8676476543</EventId>
<FirstName>sample string 4</FirstName>
<Id>24e96566-1cb5-431c-b22e-761871341c3f</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>1b024cd9-fb7d-421e-8fd3-9f13c67eadf2</ProductId>
<SegmentId>f7ea6a5b-20d8-4850-9738-292d78ff61e3</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>dcc6790f-b6e7-4df7-8396-fd62fd688b87</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>151d93bd-db2f-438c-a1bf-a95fd4b11219</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>ee92516f-32e5-42eb-990d-fd8676476543</EventId>
<FirstName>sample string 4</FirstName>
<Id>24e96566-1cb5-431c-b22e-761871341c3f</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>1b024cd9-fb7d-421e-8fd3-9f13c67eadf2</ProductId>
<SegmentId>f7ea6a5b-20d8-4850-9738-292d78ff61e3</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>dcc6790f-b6e7-4df7-8396-fd62fd688b87</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>4c1ab12d-8960-4041-9a09-5af5b62dda41</Id>
<IsPaid>true</IsPaid>
<UniqueId>482ae6aa-493d-4891-934b-9ef7a056c7fd</UniqueId>
</CartResponseModel>