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": "f96f6694-3f2a-4b64-8f33-88d35e2e31f8",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "47296e9c-ff74-409e-8a2a-bf462ff8b83f",
"CartItems": [
{
"Id": "4e4c56d3-a7a7-45c0-b126-2e23a3ed8e51",
"EventId": "a101a8f3-4d47-4519-be48-a4ede8412d35",
"ProductId": "396d1474-43eb-4f15-9896-0cc8652519c9",
"TicketTypeId": "9e970d4b-66fa-434d-be68-526df2b19358",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "18d8e7d4-9e6b-49e1-a835-1558a97ee4ca",
"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": "2f749ffc-ca84-4017-a659-def3ccce3d61",
"SortOrder": 13
},
{
"Id": "4e4c56d3-a7a7-45c0-b126-2e23a3ed8e51",
"EventId": "a101a8f3-4d47-4519-be48-a4ede8412d35",
"ProductId": "396d1474-43eb-4f15-9896-0cc8652519c9",
"TicketTypeId": "9e970d4b-66fa-434d-be68-526df2b19358",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "18d8e7d4-9e6b-49e1-a835-1558a97ee4ca",
"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": "2f749ffc-ca84-4017-a659-def3ccce3d61",
"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>18d8e7d4-9e6b-49e1-a835-1558a97ee4ca</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>a101a8f3-4d47-4519-be48-a4ede8412d35</EventId>
<FirstName>sample string 4</FirstName>
<Id>4e4c56d3-a7a7-45c0-b126-2e23a3ed8e51</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>396d1474-43eb-4f15-9896-0cc8652519c9</ProductId>
<SegmentId>2f749ffc-ca84-4017-a659-def3ccce3d61</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>9e970d4b-66fa-434d-be68-526df2b19358</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>18d8e7d4-9e6b-49e1-a835-1558a97ee4ca</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>a101a8f3-4d47-4519-be48-a4ede8412d35</EventId>
<FirstName>sample string 4</FirstName>
<Id>4e4c56d3-a7a7-45c0-b126-2e23a3ed8e51</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>396d1474-43eb-4f15-9896-0cc8652519c9</ProductId>
<SegmentId>2f749ffc-ca84-4017-a659-def3ccce3d61</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>9e970d4b-66fa-434d-be68-526df2b19358</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>f96f6694-3f2a-4b64-8f33-88d35e2e31f8</Id>
<IsPaid>true</IsPaid>
<UniqueId>47296e9c-ff74-409e-8a2a-bf462ff8b83f</UniqueId>
</CartResponseModel>