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": "86550c9e-ca5a-4ab6-8f9d-d00e9c7128fc",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "a80ba4ef-80c4-4a9a-a83e-c02d28bf0e51",
"CartItems": [
{
"Id": "40acc807-6e6f-4c51-813a-dc0dec0faa68",
"EventId": "092c3162-1539-4107-aea9-b68f5c4e4043",
"ProductId": "f201ab9e-657e-48b7-888b-feb55f78c92e",
"TicketTypeId": "96ce8f21-6e2c-4590-848e-e1ce94e5da2c",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "ee4c551a-5d19-4fcc-b905-946d80032af8",
"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": "cb1e7585-cb23-4656-9894-a734a80e828f",
"SortOrder": 13
},
{
"Id": "40acc807-6e6f-4c51-813a-dc0dec0faa68",
"EventId": "092c3162-1539-4107-aea9-b68f5c4e4043",
"ProductId": "f201ab9e-657e-48b7-888b-feb55f78c92e",
"TicketTypeId": "96ce8f21-6e2c-4590-848e-e1ce94e5da2c",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "ee4c551a-5d19-4fcc-b905-946d80032af8",
"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": "cb1e7585-cb23-4656-9894-a734a80e828f",
"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>ee4c551a-5d19-4fcc-b905-946d80032af8</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>092c3162-1539-4107-aea9-b68f5c4e4043</EventId>
<FirstName>sample string 4</FirstName>
<Id>40acc807-6e6f-4c51-813a-dc0dec0faa68</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>f201ab9e-657e-48b7-888b-feb55f78c92e</ProductId>
<SegmentId>cb1e7585-cb23-4656-9894-a734a80e828f</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>96ce8f21-6e2c-4590-848e-e1ce94e5da2c</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>ee4c551a-5d19-4fcc-b905-946d80032af8</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>092c3162-1539-4107-aea9-b68f5c4e4043</EventId>
<FirstName>sample string 4</FirstName>
<Id>40acc807-6e6f-4c51-813a-dc0dec0faa68</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>f201ab9e-657e-48b7-888b-feb55f78c92e</ProductId>
<SegmentId>cb1e7585-cb23-4656-9894-a734a80e828f</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>96ce8f21-6e2c-4590-848e-e1ce94e5da2c</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>86550c9e-ca5a-4ab6-8f9d-d00e9c7128fc</Id>
<IsPaid>true</IsPaid>
<UniqueId>a80ba4ef-80c4-4a9a-a83e-c02d28bf0e51</UniqueId>
</CartResponseModel>