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": "3121b423-80b8-4a03-9a58-5b85f1ef9cf5",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "54c2c5e2-df3b-4759-abbb-b4674ec42043",
"CartItems": [
{
"Id": "a15085cb-68d3-4366-8b4e-847b0fbcbf0f",
"EventId": "26b4af69-75f0-4ea5-88a1-1f89e6becbc6",
"ProductId": "e88cd274-0667-49cf-b99e-ffa5727d406e",
"TicketTypeId": "a3669406-1b64-4d85-b6c5-9753edcc0136",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "9437c353-61cd-44eb-b110-a1fa98c83587",
"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": "1e092f48-7951-4de0-ab2e-5755f3568aa0",
"SortOrder": 13
},
{
"Id": "a15085cb-68d3-4366-8b4e-847b0fbcbf0f",
"EventId": "26b4af69-75f0-4ea5-88a1-1f89e6becbc6",
"ProductId": "e88cd274-0667-49cf-b99e-ffa5727d406e",
"TicketTypeId": "a3669406-1b64-4d85-b6c5-9753edcc0136",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "9437c353-61cd-44eb-b110-a1fa98c83587",
"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": "1e092f48-7951-4de0-ab2e-5755f3568aa0",
"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>9437c353-61cd-44eb-b110-a1fa98c83587</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>26b4af69-75f0-4ea5-88a1-1f89e6becbc6</EventId>
<FirstName>sample string 4</FirstName>
<Id>a15085cb-68d3-4366-8b4e-847b0fbcbf0f</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>e88cd274-0667-49cf-b99e-ffa5727d406e</ProductId>
<SegmentId>1e092f48-7951-4de0-ab2e-5755f3568aa0</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>a3669406-1b64-4d85-b6c5-9753edcc0136</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>9437c353-61cd-44eb-b110-a1fa98c83587</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>26b4af69-75f0-4ea5-88a1-1f89e6becbc6</EventId>
<FirstName>sample string 4</FirstName>
<Id>a15085cb-68d3-4366-8b4e-847b0fbcbf0f</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>e88cd274-0667-49cf-b99e-ffa5727d406e</ProductId>
<SegmentId>1e092f48-7951-4de0-ab2e-5755f3568aa0</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>a3669406-1b64-4d85-b6c5-9753edcc0136</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>3121b423-80b8-4a03-9a58-5b85f1ef9cf5</Id>
<IsPaid>true</IsPaid>
<UniqueId>54c2c5e2-df3b-4759-abbb-b4674ec42043</UniqueId>
</CartResponseModel>