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": "4aeae592-cbbf-4e28-a9e3-bd3ee1e3b889",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "7eaca07c-fc5d-4961-8d2c-ce86e36aa5bc",
"CartItems": [
{
"Id": "02b55e48-0204-44f6-a221-f87da798d643",
"EventId": "6d8f1d37-963e-45a8-8472-c447a47124c3",
"ProductId": "6bc45bbf-29bb-4f6a-9182-f00a6571ebe4",
"TicketTypeId": "3b317609-d942-4195-8571-599771bd799a",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "b0b761c0-1c3c-4bdc-8950-bf5bda87f4cd",
"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": "6d7835b0-dbbd-4672-bdf4-13929ea2f318",
"SortOrder": 13
},
{
"Id": "02b55e48-0204-44f6-a221-f87da798d643",
"EventId": "6d8f1d37-963e-45a8-8472-c447a47124c3",
"ProductId": "6bc45bbf-29bb-4f6a-9182-f00a6571ebe4",
"TicketTypeId": "3b317609-d942-4195-8571-599771bd799a",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "b0b761c0-1c3c-4bdc-8950-bf5bda87f4cd",
"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": "6d7835b0-dbbd-4672-bdf4-13929ea2f318",
"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>b0b761c0-1c3c-4bdc-8950-bf5bda87f4cd</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>6d8f1d37-963e-45a8-8472-c447a47124c3</EventId>
<FirstName>sample string 4</FirstName>
<Id>02b55e48-0204-44f6-a221-f87da798d643</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>6bc45bbf-29bb-4f6a-9182-f00a6571ebe4</ProductId>
<SegmentId>6d7835b0-dbbd-4672-bdf4-13929ea2f318</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>3b317609-d942-4195-8571-599771bd799a</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>b0b761c0-1c3c-4bdc-8950-bf5bda87f4cd</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>6d8f1d37-963e-45a8-8472-c447a47124c3</EventId>
<FirstName>sample string 4</FirstName>
<Id>02b55e48-0204-44f6-a221-f87da798d643</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>6bc45bbf-29bb-4f6a-9182-f00a6571ebe4</ProductId>
<SegmentId>6d7835b0-dbbd-4672-bdf4-13929ea2f318</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>3b317609-d942-4195-8571-599771bd799a</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>4aeae592-cbbf-4e28-a9e3-bd3ee1e3b889</Id>
<IsPaid>true</IsPaid>
<UniqueId>7eaca07c-fc5d-4961-8d2c-ce86e36aa5bc</UniqueId>
</CartResponseModel>