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": "9311be71-c259-4711-aea3-96afd691d1b3",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "72f5b581-a99d-45ee-bd2a-172202482b25",
"CartItems": [
{
"Id": "d1e9f824-db53-47f0-a730-8daf9d4e7175",
"EventId": "2415abc0-4774-4c64-9a60-afb0e7bc0392",
"ProductId": "604dbb1e-4af7-4fed-98f7-cc983f073d66",
"TicketTypeId": "e9cb23b4-1ca5-4d65-8e27-cf951ffcf687",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "9541c2c7-3f84-4b57-9502-d2aa9c894460",
"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": "cabc803c-1b14-41f2-b17e-456da9fc9135",
"SortOrder": 13
},
{
"Id": "d1e9f824-db53-47f0-a730-8daf9d4e7175",
"EventId": "2415abc0-4774-4c64-9a60-afb0e7bc0392",
"ProductId": "604dbb1e-4af7-4fed-98f7-cc983f073d66",
"TicketTypeId": "e9cb23b4-1ca5-4d65-8e27-cf951ffcf687",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "9541c2c7-3f84-4b57-9502-d2aa9c894460",
"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": "cabc803c-1b14-41f2-b17e-456da9fc9135",
"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>9541c2c7-3f84-4b57-9502-d2aa9c894460</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>2415abc0-4774-4c64-9a60-afb0e7bc0392</EventId>
<FirstName>sample string 4</FirstName>
<Id>d1e9f824-db53-47f0-a730-8daf9d4e7175</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>604dbb1e-4af7-4fed-98f7-cc983f073d66</ProductId>
<SegmentId>cabc803c-1b14-41f2-b17e-456da9fc9135</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>e9cb23b4-1ca5-4d65-8e27-cf951ffcf687</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>9541c2c7-3f84-4b57-9502-d2aa9c894460</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>2415abc0-4774-4c64-9a60-afb0e7bc0392</EventId>
<FirstName>sample string 4</FirstName>
<Id>d1e9f824-db53-47f0-a730-8daf9d4e7175</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>604dbb1e-4af7-4fed-98f7-cc983f073d66</ProductId>
<SegmentId>cabc803c-1b14-41f2-b17e-456da9fc9135</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>e9cb23b4-1ca5-4d65-8e27-cf951ffcf687</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>9311be71-c259-4711-aea3-96afd691d1b3</Id>
<IsPaid>true</IsPaid>
<UniqueId>72f5b581-a99d-45ee-bd2a-172202482b25</UniqueId>
</CartResponseModel>