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": "775df142-feb2-45d3-ade9-10d7f0fc7dac",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "206b6174-65da-4e6c-9c9f-f8cc7f45f6bd",
"CartItems": [
{
"Id": "d6edf384-c774-4067-b7f7-4839b3fc7a08",
"EventId": "e716755f-1d68-4225-a54d-1af1814bbfa6",
"ProductId": "31ce20bc-dbd6-40eb-8345-fa93be47db45",
"TicketTypeId": "c6147cd0-ccc5-4634-9b3a-dda534305e2d",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "c2d7b48b-18d8-478a-9d64-97082b498e05",
"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": "5b948542-3a55-405d-9c8c-61084f38852e",
"SortOrder": 13
},
{
"Id": "d6edf384-c774-4067-b7f7-4839b3fc7a08",
"EventId": "e716755f-1d68-4225-a54d-1af1814bbfa6",
"ProductId": "31ce20bc-dbd6-40eb-8345-fa93be47db45",
"TicketTypeId": "c6147cd0-ccc5-4634-9b3a-dda534305e2d",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "c2d7b48b-18d8-478a-9d64-97082b498e05",
"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": "5b948542-3a55-405d-9c8c-61084f38852e",
"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>c2d7b48b-18d8-478a-9d64-97082b498e05</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>e716755f-1d68-4225-a54d-1af1814bbfa6</EventId>
<FirstName>sample string 4</FirstName>
<Id>d6edf384-c774-4067-b7f7-4839b3fc7a08</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>31ce20bc-dbd6-40eb-8345-fa93be47db45</ProductId>
<SegmentId>5b948542-3a55-405d-9c8c-61084f38852e</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>c6147cd0-ccc5-4634-9b3a-dda534305e2d</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>c2d7b48b-18d8-478a-9d64-97082b498e05</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>e716755f-1d68-4225-a54d-1af1814bbfa6</EventId>
<FirstName>sample string 4</FirstName>
<Id>d6edf384-c774-4067-b7f7-4839b3fc7a08</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>31ce20bc-dbd6-40eb-8345-fa93be47db45</ProductId>
<SegmentId>5b948542-3a55-405d-9c8c-61084f38852e</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>c6147cd0-ccc5-4634-9b3a-dda534305e2d</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>775df142-feb2-45d3-ade9-10d7f0fc7dac</Id>
<IsPaid>true</IsPaid>
<UniqueId>206b6174-65da-4e6c-9c9f-f8cc7f45f6bd</UniqueId>
</CartResponseModel>