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": "faebd38a-0e62-4aa6-aa0e-493a891a1f88",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "53ebf398-416f-435a-9797-79e4d79a3b91",
"CartItems": [
{
"Id": "a6b97303-5bf9-485a-b365-c62868dde2d4",
"EventId": "819da323-01f7-4401-9dd3-0c2bd3ee2139",
"ProductId": "100ef806-c691-45cf-bf7f-5abec48d8d1d",
"TicketTypeId": "a3681d5f-c676-40f2-bb5e-610cdf21c414",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "44a0aa21-728d-4b3d-aeea-84120962e1aa",
"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": "240bf3ea-414f-445b-a6e8-29665cf67cf6",
"SortOrder": 13
},
{
"Id": "a6b97303-5bf9-485a-b365-c62868dde2d4",
"EventId": "819da323-01f7-4401-9dd3-0c2bd3ee2139",
"ProductId": "100ef806-c691-45cf-bf7f-5abec48d8d1d",
"TicketTypeId": "a3681d5f-c676-40f2-bb5e-610cdf21c414",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "44a0aa21-728d-4b3d-aeea-84120962e1aa",
"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": "240bf3ea-414f-445b-a6e8-29665cf67cf6",
"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>44a0aa21-728d-4b3d-aeea-84120962e1aa</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>819da323-01f7-4401-9dd3-0c2bd3ee2139</EventId>
<FirstName>sample string 4</FirstName>
<Id>a6b97303-5bf9-485a-b365-c62868dde2d4</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>100ef806-c691-45cf-bf7f-5abec48d8d1d</ProductId>
<SegmentId>240bf3ea-414f-445b-a6e8-29665cf67cf6</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>a3681d5f-c676-40f2-bb5e-610cdf21c414</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>44a0aa21-728d-4b3d-aeea-84120962e1aa</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>819da323-01f7-4401-9dd3-0c2bd3ee2139</EventId>
<FirstName>sample string 4</FirstName>
<Id>a6b97303-5bf9-485a-b365-c62868dde2d4</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>100ef806-c691-45cf-bf7f-5abec48d8d1d</ProductId>
<SegmentId>240bf3ea-414f-445b-a6e8-29665cf67cf6</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>a3681d5f-c676-40f2-bb5e-610cdf21c414</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>faebd38a-0e62-4aa6-aa0e-493a891a1f88</Id>
<IsPaid>true</IsPaid>
<UniqueId>53ebf398-416f-435a-9797-79e4d79a3b91</UniqueId>
</CartResponseModel>