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": "ce7b05dc-8d40-405a-8995-09c4c0c56b48",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "7b49e02a-4a0d-42e6-bd1a-969b7ffba70d",
"CartItems": [
{
"Id": "af6430ed-ceae-4d78-a5af-bd83ee24de5e",
"EventId": "7f0e5261-3c60-497a-9101-e9adf17c0b84",
"ProductId": "679c0d81-eb02-4698-9772-f9638d56a797",
"TicketTypeId": "2d838f9a-46ea-4245-9ac6-323cda9aa9c5",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "e4f571bc-ca7c-4a47-8a23-29e3b667f14f",
"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": "07209eaa-3ace-4866-9610-57ef3bd032a1",
"SortOrder": 13
},
{
"Id": "af6430ed-ceae-4d78-a5af-bd83ee24de5e",
"EventId": "7f0e5261-3c60-497a-9101-e9adf17c0b84",
"ProductId": "679c0d81-eb02-4698-9772-f9638d56a797",
"TicketTypeId": "2d838f9a-46ea-4245-9ac6-323cda9aa9c5",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "e4f571bc-ca7c-4a47-8a23-29e3b667f14f",
"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": "07209eaa-3ace-4866-9610-57ef3bd032a1",
"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>e4f571bc-ca7c-4a47-8a23-29e3b667f14f</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>7f0e5261-3c60-497a-9101-e9adf17c0b84</EventId>
<FirstName>sample string 4</FirstName>
<Id>af6430ed-ceae-4d78-a5af-bd83ee24de5e</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>679c0d81-eb02-4698-9772-f9638d56a797</ProductId>
<SegmentId>07209eaa-3ace-4866-9610-57ef3bd032a1</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>2d838f9a-46ea-4245-9ac6-323cda9aa9c5</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>e4f571bc-ca7c-4a47-8a23-29e3b667f14f</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>7f0e5261-3c60-497a-9101-e9adf17c0b84</EventId>
<FirstName>sample string 4</FirstName>
<Id>af6430ed-ceae-4d78-a5af-bd83ee24de5e</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>679c0d81-eb02-4698-9772-f9638d56a797</ProductId>
<SegmentId>07209eaa-3ace-4866-9610-57ef3bd032a1</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>2d838f9a-46ea-4245-9ac6-323cda9aa9c5</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>ce7b05dc-8d40-405a-8995-09c4c0c56b48</Id>
<IsPaid>true</IsPaid>
<UniqueId>7b49e02a-4a0d-42e6-bd1a-969b7ffba70d</UniqueId>
</CartResponseModel>