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": "ef49de98-4bf7-4bd1-acd9-1db88e312b7a",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "c57cac3b-1489-4fdb-8d8d-4a3aafadda0f",
"CartItems": [
{
"Id": "963fbe2d-5242-4a6a-b5b9-408e8a9f832b",
"EventId": "2ad788d9-6a17-4a50-85bc-1a0b4a0404e2",
"ProductId": "f6947f56-2e53-4b6b-9f1a-5c15f2314156",
"TicketTypeId": "84443d0a-990d-431c-b9c6-2b9554090ed6",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "ebe8cd39-2288-4a74-a44e-eaf12a3b58d9",
"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": "63bd32c5-17f8-4a78-8f31-0849cd6488c3",
"SortOrder": 13
},
{
"Id": "963fbe2d-5242-4a6a-b5b9-408e8a9f832b",
"EventId": "2ad788d9-6a17-4a50-85bc-1a0b4a0404e2",
"ProductId": "f6947f56-2e53-4b6b-9f1a-5c15f2314156",
"TicketTypeId": "84443d0a-990d-431c-b9c6-2b9554090ed6",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "ebe8cd39-2288-4a74-a44e-eaf12a3b58d9",
"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": "63bd32c5-17f8-4a78-8f31-0849cd6488c3",
"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>ebe8cd39-2288-4a74-a44e-eaf12a3b58d9</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>2ad788d9-6a17-4a50-85bc-1a0b4a0404e2</EventId>
<FirstName>sample string 4</FirstName>
<Id>963fbe2d-5242-4a6a-b5b9-408e8a9f832b</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>f6947f56-2e53-4b6b-9f1a-5c15f2314156</ProductId>
<SegmentId>63bd32c5-17f8-4a78-8f31-0849cd6488c3</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>84443d0a-990d-431c-b9c6-2b9554090ed6</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>ebe8cd39-2288-4a74-a44e-eaf12a3b58d9</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>2ad788d9-6a17-4a50-85bc-1a0b4a0404e2</EventId>
<FirstName>sample string 4</FirstName>
<Id>963fbe2d-5242-4a6a-b5b9-408e8a9f832b</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>f6947f56-2e53-4b6b-9f1a-5c15f2314156</ProductId>
<SegmentId>63bd32c5-17f8-4a78-8f31-0849cd6488c3</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>84443d0a-990d-431c-b9c6-2b9554090ed6</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>ef49de98-4bf7-4bd1-acd9-1db88e312b7a</Id>
<IsPaid>true</IsPaid>
<UniqueId>c57cac3b-1489-4fdb-8d8d-4a3aafadda0f</UniqueId>
</CartResponseModel>