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": "05a6edac-659c-4301-9fa0-2c9391b7f06c",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "896443f5-496f-4d8e-bb27-d2d7171a7ad7",
"CartItems": [
{
"Id": "3fa4e183-a0f4-4c42-8f57-2dce0fe610af",
"EventId": "94684128-586a-4b3e-a772-cc039d3a048b",
"ProductId": "a20ce059-c8bd-4814-8741-46947883c62f",
"TicketTypeId": "d60006b9-60f0-45ae-abb4-49188fcbaee3",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "7d2aabda-8e42-4ea7-bf45-8e08710fc734",
"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": "8468f912-47b5-4cb6-8c28-eb8578ce199d",
"SortOrder": 13
},
{
"Id": "3fa4e183-a0f4-4c42-8f57-2dce0fe610af",
"EventId": "94684128-586a-4b3e-a772-cc039d3a048b",
"ProductId": "a20ce059-c8bd-4814-8741-46947883c62f",
"TicketTypeId": "d60006b9-60f0-45ae-abb4-49188fcbaee3",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "7d2aabda-8e42-4ea7-bf45-8e08710fc734",
"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": "8468f912-47b5-4cb6-8c28-eb8578ce199d",
"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>7d2aabda-8e42-4ea7-bf45-8e08710fc734</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>94684128-586a-4b3e-a772-cc039d3a048b</EventId>
<FirstName>sample string 4</FirstName>
<Id>3fa4e183-a0f4-4c42-8f57-2dce0fe610af</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>a20ce059-c8bd-4814-8741-46947883c62f</ProductId>
<SegmentId>8468f912-47b5-4cb6-8c28-eb8578ce199d</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>d60006b9-60f0-45ae-abb4-49188fcbaee3</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>7d2aabda-8e42-4ea7-bf45-8e08710fc734</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>94684128-586a-4b3e-a772-cc039d3a048b</EventId>
<FirstName>sample string 4</FirstName>
<Id>3fa4e183-a0f4-4c42-8f57-2dce0fe610af</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>a20ce059-c8bd-4814-8741-46947883c62f</ProductId>
<SegmentId>8468f912-47b5-4cb6-8c28-eb8578ce199d</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>d60006b9-60f0-45ae-abb4-49188fcbaee3</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>05a6edac-659c-4301-9fa0-2c9391b7f06c</Id>
<IsPaid>true</IsPaid>
<UniqueId>896443f5-496f-4d8e-bb27-d2d7171a7ad7</UniqueId>
</CartResponseModel>