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": "eeb88086-0aa8-4d29-9370-bb4c531f3b99",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "4cc7c4f2-331e-44af-bca7-e7a7970e64f7",
"CartItems": [
{
"Id": "b8998647-942f-4a2e-b46f-8ed900b489db",
"EventId": "5cdcf203-3a34-4cdd-894d-709968d61bfd",
"ProductId": "a7560af4-0f8a-49f0-bf31-ff27bfb6f13c",
"TicketTypeId": "72ffbeaa-637f-4b3a-a43e-36fd4cdfae0f",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "5986b04d-8657-46bf-86fa-a800d5e7c264",
"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": "620f1cf8-f61e-45cf-82cc-d333b0b77b6f",
"SortOrder": 13
},
{
"Id": "b8998647-942f-4a2e-b46f-8ed900b489db",
"EventId": "5cdcf203-3a34-4cdd-894d-709968d61bfd",
"ProductId": "a7560af4-0f8a-49f0-bf31-ff27bfb6f13c",
"TicketTypeId": "72ffbeaa-637f-4b3a-a43e-36fd4cdfae0f",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "5986b04d-8657-46bf-86fa-a800d5e7c264",
"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": "620f1cf8-f61e-45cf-82cc-d333b0b77b6f",
"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>5986b04d-8657-46bf-86fa-a800d5e7c264</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>5cdcf203-3a34-4cdd-894d-709968d61bfd</EventId>
<FirstName>sample string 4</FirstName>
<Id>b8998647-942f-4a2e-b46f-8ed900b489db</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>a7560af4-0f8a-49f0-bf31-ff27bfb6f13c</ProductId>
<SegmentId>620f1cf8-f61e-45cf-82cc-d333b0b77b6f</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>72ffbeaa-637f-4b3a-a43e-36fd4cdfae0f</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>5986b04d-8657-46bf-86fa-a800d5e7c264</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>5cdcf203-3a34-4cdd-894d-709968d61bfd</EventId>
<FirstName>sample string 4</FirstName>
<Id>b8998647-942f-4a2e-b46f-8ed900b489db</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>a7560af4-0f8a-49f0-bf31-ff27bfb6f13c</ProductId>
<SegmentId>620f1cf8-f61e-45cf-82cc-d333b0b77b6f</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>72ffbeaa-637f-4b3a-a43e-36fd4cdfae0f</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>eeb88086-0aa8-4d29-9370-bb4c531f3b99</Id>
<IsPaid>true</IsPaid>
<UniqueId>4cc7c4f2-331e-44af-bca7-e7a7970e64f7</UniqueId>
</CartResponseModel>