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": "241aa54c-91c6-4882-baf8-d1762295e50f",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "1f70b3be-2146-44a0-9c4d-25bc97ef50fc",
"CartItems": [
{
"Id": "387f7464-c489-4e42-b768-f1778f36e5db",
"EventId": "16a6ad2e-6f27-4b64-b91f-c9b7feffa4e1",
"ProductId": "b2836417-e1c9-447b-9ecc-ffe39f740319",
"TicketTypeId": "b05ad81b-e553-43e0-99de-3ee2823e5ddd",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "af0e0cbb-d4f7-4ea1-839a-a340bdb5baef",
"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": "a30fc167-1d91-4a18-91d8-0cd1738a62df",
"SortOrder": 13
},
{
"Id": "387f7464-c489-4e42-b768-f1778f36e5db",
"EventId": "16a6ad2e-6f27-4b64-b91f-c9b7feffa4e1",
"ProductId": "b2836417-e1c9-447b-9ecc-ffe39f740319",
"TicketTypeId": "b05ad81b-e553-43e0-99de-3ee2823e5ddd",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "af0e0cbb-d4f7-4ea1-839a-a340bdb5baef",
"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": "a30fc167-1d91-4a18-91d8-0cd1738a62df",
"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>af0e0cbb-d4f7-4ea1-839a-a340bdb5baef</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>16a6ad2e-6f27-4b64-b91f-c9b7feffa4e1</EventId>
<FirstName>sample string 4</FirstName>
<Id>387f7464-c489-4e42-b768-f1778f36e5db</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>b2836417-e1c9-447b-9ecc-ffe39f740319</ProductId>
<SegmentId>a30fc167-1d91-4a18-91d8-0cd1738a62df</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>b05ad81b-e553-43e0-99de-3ee2823e5ddd</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>af0e0cbb-d4f7-4ea1-839a-a340bdb5baef</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>16a6ad2e-6f27-4b64-b91f-c9b7feffa4e1</EventId>
<FirstName>sample string 4</FirstName>
<Id>387f7464-c489-4e42-b768-f1778f36e5db</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>b2836417-e1c9-447b-9ecc-ffe39f740319</ProductId>
<SegmentId>a30fc167-1d91-4a18-91d8-0cd1738a62df</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>b05ad81b-e553-43e0-99de-3ee2823e5ddd</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>241aa54c-91c6-4882-baf8-d1762295e50f</Id>
<IsPaid>true</IsPaid>
<UniqueId>1f70b3be-2146-44a0-9c4d-25bc97ef50fc</UniqueId>
</CartResponseModel>