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": "c2deca75-5c1b-4d95-91ea-93bda13aae54",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "c3f8bb79-c04a-4422-9395-08b28d59945c",
"CartItems": [
{
"Id": "1f9c89e7-1851-47f1-a5cb-d3ddd56ad755",
"EventId": "4c9ded32-2cc9-44bc-b8af-3d5cd1bab375",
"ProductId": "4504bdd6-ad2c-4547-98dd-ea1d4a396244",
"TicketTypeId": "9a6afb11-de20-41d5-a7a2-940e4a028bf0",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "839e1ddd-3889-4fa4-916b-86e2a7f52ffd",
"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": "08cec225-2df6-4d63-9eae-6f81ae7be1a5",
"SortOrder": 13
},
{
"Id": "1f9c89e7-1851-47f1-a5cb-d3ddd56ad755",
"EventId": "4c9ded32-2cc9-44bc-b8af-3d5cd1bab375",
"ProductId": "4504bdd6-ad2c-4547-98dd-ea1d4a396244",
"TicketTypeId": "9a6afb11-de20-41d5-a7a2-940e4a028bf0",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "839e1ddd-3889-4fa4-916b-86e2a7f52ffd",
"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": "08cec225-2df6-4d63-9eae-6f81ae7be1a5",
"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>839e1ddd-3889-4fa4-916b-86e2a7f52ffd</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>4c9ded32-2cc9-44bc-b8af-3d5cd1bab375</EventId>
<FirstName>sample string 4</FirstName>
<Id>1f9c89e7-1851-47f1-a5cb-d3ddd56ad755</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>4504bdd6-ad2c-4547-98dd-ea1d4a396244</ProductId>
<SegmentId>08cec225-2df6-4d63-9eae-6f81ae7be1a5</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>9a6afb11-de20-41d5-a7a2-940e4a028bf0</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>839e1ddd-3889-4fa4-916b-86e2a7f52ffd</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>4c9ded32-2cc9-44bc-b8af-3d5cd1bab375</EventId>
<FirstName>sample string 4</FirstName>
<Id>1f9c89e7-1851-47f1-a5cb-d3ddd56ad755</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>4504bdd6-ad2c-4547-98dd-ea1d4a396244</ProductId>
<SegmentId>08cec225-2df6-4d63-9eae-6f81ae7be1a5</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>9a6afb11-de20-41d5-a7a2-940e4a028bf0</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>c2deca75-5c1b-4d95-91ea-93bda13aae54</Id>
<IsPaid>true</IsPaid>
<UniqueId>c3f8bb79-c04a-4422-9395-08b28d59945c</UniqueId>
</CartResponseModel>