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": "abf42b27-8afb-4e45-9a26-0de284b5d589",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "133a0549-e8e6-4455-b35b-80dfe74bcd6f",
"CartItems": [
{
"Id": "d4e67e1c-bb8a-420b-a15f-52893d91d19e",
"EventId": "99241622-7efd-429a-b85f-2e4e6aea7370",
"ProductId": "df81cb91-76f4-4971-9fd4-ce7ab4393049",
"TicketTypeId": "382b1594-c733-4d85-83b7-fde8dc8f9c56",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "777a3a07-5299-4b85-aedb-9d4c179403d8",
"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": "1fc94a77-db59-42ae-a58e-d3484e4861f6",
"SortOrder": 13
},
{
"Id": "d4e67e1c-bb8a-420b-a15f-52893d91d19e",
"EventId": "99241622-7efd-429a-b85f-2e4e6aea7370",
"ProductId": "df81cb91-76f4-4971-9fd4-ce7ab4393049",
"TicketTypeId": "382b1594-c733-4d85-83b7-fde8dc8f9c56",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "777a3a07-5299-4b85-aedb-9d4c179403d8",
"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": "1fc94a77-db59-42ae-a58e-d3484e4861f6",
"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>777a3a07-5299-4b85-aedb-9d4c179403d8</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>99241622-7efd-429a-b85f-2e4e6aea7370</EventId>
<FirstName>sample string 4</FirstName>
<Id>d4e67e1c-bb8a-420b-a15f-52893d91d19e</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>df81cb91-76f4-4971-9fd4-ce7ab4393049</ProductId>
<SegmentId>1fc94a77-db59-42ae-a58e-d3484e4861f6</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>382b1594-c733-4d85-83b7-fde8dc8f9c56</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>777a3a07-5299-4b85-aedb-9d4c179403d8</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>99241622-7efd-429a-b85f-2e4e6aea7370</EventId>
<FirstName>sample string 4</FirstName>
<Id>d4e67e1c-bb8a-420b-a15f-52893d91d19e</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>df81cb91-76f4-4971-9fd4-ce7ab4393049</ProductId>
<SegmentId>1fc94a77-db59-42ae-a58e-d3484e4861f6</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>382b1594-c733-4d85-83b7-fde8dc8f9c56</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>abf42b27-8afb-4e45-9a26-0de284b5d589</Id>
<IsPaid>true</IsPaid>
<UniqueId>133a0549-e8e6-4455-b35b-80dfe74bcd6f</UniqueId>
</CartResponseModel>