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": "3b282d54-eefd-448b-aa5a-9c3f18c2e8e2",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "72549b64-c74c-44d4-a6b2-6f01dc9dfafd",
"CartItems": [
{
"Id": "463a1065-d6b7-4d01-9fb9-5c5e6130ac93",
"EventId": "e5f4d162-4b80-43e2-862e-0cf3b2e87a2a",
"ProductId": "c26100d3-a4a2-45d1-b4de-39ac8f21b2c2",
"TicketTypeId": "cc5f1daa-923e-4d4a-8e6f-47d24c0b7290",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "2758e8df-f444-429a-843a-771b4e8f72a4",
"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": "ecd93e3d-3c00-43e9-85cd-bbfcef0f9faf",
"SortOrder": 13
},
{
"Id": "463a1065-d6b7-4d01-9fb9-5c5e6130ac93",
"EventId": "e5f4d162-4b80-43e2-862e-0cf3b2e87a2a",
"ProductId": "c26100d3-a4a2-45d1-b4de-39ac8f21b2c2",
"TicketTypeId": "cc5f1daa-923e-4d4a-8e6f-47d24c0b7290",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "2758e8df-f444-429a-843a-771b4e8f72a4",
"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": "ecd93e3d-3c00-43e9-85cd-bbfcef0f9faf",
"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>2758e8df-f444-429a-843a-771b4e8f72a4</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>e5f4d162-4b80-43e2-862e-0cf3b2e87a2a</EventId>
<FirstName>sample string 4</FirstName>
<Id>463a1065-d6b7-4d01-9fb9-5c5e6130ac93</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>c26100d3-a4a2-45d1-b4de-39ac8f21b2c2</ProductId>
<SegmentId>ecd93e3d-3c00-43e9-85cd-bbfcef0f9faf</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>cc5f1daa-923e-4d4a-8e6f-47d24c0b7290</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>2758e8df-f444-429a-843a-771b4e8f72a4</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>e5f4d162-4b80-43e2-862e-0cf3b2e87a2a</EventId>
<FirstName>sample string 4</FirstName>
<Id>463a1065-d6b7-4d01-9fb9-5c5e6130ac93</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>c26100d3-a4a2-45d1-b4de-39ac8f21b2c2</ProductId>
<SegmentId>ecd93e3d-3c00-43e9-85cd-bbfcef0f9faf</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>cc5f1daa-923e-4d4a-8e6f-47d24c0b7290</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>3b282d54-eefd-448b-aa5a-9c3f18c2e8e2</Id>
<IsPaid>true</IsPaid>
<UniqueId>72549b64-c74c-44d4-a6b2-6f01dc9dfafd</UniqueId>
</CartResponseModel>