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": "b158e49b-8aa3-4a9b-805c-3622f3f7a77e",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "1f05b45e-d0ad-4428-a9db-9a3b93fc7ff2",
"CartItems": [
{
"Id": "79b3e5a0-46ed-4d8b-98be-cd63461b2df5",
"EventId": "dafca55c-0840-44fc-8653-13d40ca7adb3",
"ProductId": "1f7f8874-a912-408c-8a1f-2a8a3f47f355",
"TicketTypeId": "895ac1b2-1d95-4406-831f-a1c8cd8b3eb2",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "e66a85c1-0501-4e4e-8cc2-e0113a95342b",
"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": "1263f2bc-62fe-4027-b43e-1c0aff04cc2c",
"SortOrder": 13
},
{
"Id": "79b3e5a0-46ed-4d8b-98be-cd63461b2df5",
"EventId": "dafca55c-0840-44fc-8653-13d40ca7adb3",
"ProductId": "1f7f8874-a912-408c-8a1f-2a8a3f47f355",
"TicketTypeId": "895ac1b2-1d95-4406-831f-a1c8cd8b3eb2",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "e66a85c1-0501-4e4e-8cc2-e0113a95342b",
"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": "1263f2bc-62fe-4027-b43e-1c0aff04cc2c",
"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>e66a85c1-0501-4e4e-8cc2-e0113a95342b</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>dafca55c-0840-44fc-8653-13d40ca7adb3</EventId>
<FirstName>sample string 4</FirstName>
<Id>79b3e5a0-46ed-4d8b-98be-cd63461b2df5</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>1f7f8874-a912-408c-8a1f-2a8a3f47f355</ProductId>
<SegmentId>1263f2bc-62fe-4027-b43e-1c0aff04cc2c</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>895ac1b2-1d95-4406-831f-a1c8cd8b3eb2</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>e66a85c1-0501-4e4e-8cc2-e0113a95342b</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>dafca55c-0840-44fc-8653-13d40ca7adb3</EventId>
<FirstName>sample string 4</FirstName>
<Id>79b3e5a0-46ed-4d8b-98be-cd63461b2df5</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>1f7f8874-a912-408c-8a1f-2a8a3f47f355</ProductId>
<SegmentId>1263f2bc-62fe-4027-b43e-1c0aff04cc2c</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>895ac1b2-1d95-4406-831f-a1c8cd8b3eb2</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>b158e49b-8aa3-4a9b-805c-3622f3f7a77e</Id>
<IsPaid>true</IsPaid>
<UniqueId>1f05b45e-d0ad-4428-a9db-9a3b93fc7ff2</UniqueId>
</CartResponseModel>