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": "ee5c3ed1-97fb-4db3-abb4-09362ae10f37",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "1578251b-1a04-46f1-98b3-807bc5da64a2",
"CartItems": [
{
"Id": "ec402e0e-85c7-4c28-bcce-f06a55994807",
"EventId": "11b1bdbe-ca77-49ae-8403-99964d70e15e",
"ProductId": "a9adf027-4854-4dd0-a646-fed141de9217",
"TicketTypeId": "fe8b52f0-edb4-455b-8237-df062c9f5897",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "1b1d63d6-f5d1-4989-a31f-220a45bcf271",
"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": "63f0a502-0311-43bc-9372-dff541e213b4",
"SortOrder": 13
},
{
"Id": "ec402e0e-85c7-4c28-bcce-f06a55994807",
"EventId": "11b1bdbe-ca77-49ae-8403-99964d70e15e",
"ProductId": "a9adf027-4854-4dd0-a646-fed141de9217",
"TicketTypeId": "fe8b52f0-edb4-455b-8237-df062c9f5897",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "1b1d63d6-f5d1-4989-a31f-220a45bcf271",
"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": "63f0a502-0311-43bc-9372-dff541e213b4",
"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>1b1d63d6-f5d1-4989-a31f-220a45bcf271</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>11b1bdbe-ca77-49ae-8403-99964d70e15e</EventId>
<FirstName>sample string 4</FirstName>
<Id>ec402e0e-85c7-4c28-bcce-f06a55994807</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>a9adf027-4854-4dd0-a646-fed141de9217</ProductId>
<SegmentId>63f0a502-0311-43bc-9372-dff541e213b4</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>fe8b52f0-edb4-455b-8237-df062c9f5897</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>1b1d63d6-f5d1-4989-a31f-220a45bcf271</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>11b1bdbe-ca77-49ae-8403-99964d70e15e</EventId>
<FirstName>sample string 4</FirstName>
<Id>ec402e0e-85c7-4c28-bcce-f06a55994807</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>a9adf027-4854-4dd0-a646-fed141de9217</ProductId>
<SegmentId>63f0a502-0311-43bc-9372-dff541e213b4</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>fe8b52f0-edb4-455b-8237-df062c9f5897</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>ee5c3ed1-97fb-4db3-abb4-09362ae10f37</Id>
<IsPaid>true</IsPaid>
<UniqueId>1578251b-1a04-46f1-98b3-807bc5da64a2</UniqueId>
</CartResponseModel>