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": "ee883ee3-f5e5-486e-815e-b5fd26bfff3d",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "8310434c-489b-46e1-bd6f-c7ab32abed38",
"CartItems": [
{
"Id": "bfd45c54-9076-4919-8d83-dcb6e82ecf52",
"EventId": "049f6f3c-e8ae-475a-9e88-f4890c64e4c8",
"ProductId": "97b26a6a-8cc5-43cb-b4f4-c808890d8903",
"TicketTypeId": "088010d6-44fa-4ba3-acee-21b9f2fa9ac7",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "c2e2afe0-7a7c-4c13-9ec5-18e879a09618",
"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": "3e067102-5777-418f-b9f6-5809e041f585",
"SortOrder": 13
},
{
"Id": "bfd45c54-9076-4919-8d83-dcb6e82ecf52",
"EventId": "049f6f3c-e8ae-475a-9e88-f4890c64e4c8",
"ProductId": "97b26a6a-8cc5-43cb-b4f4-c808890d8903",
"TicketTypeId": "088010d6-44fa-4ba3-acee-21b9f2fa9ac7",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "c2e2afe0-7a7c-4c13-9ec5-18e879a09618",
"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": "3e067102-5777-418f-b9f6-5809e041f585",
"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>c2e2afe0-7a7c-4c13-9ec5-18e879a09618</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>049f6f3c-e8ae-475a-9e88-f4890c64e4c8</EventId>
<FirstName>sample string 4</FirstName>
<Id>bfd45c54-9076-4919-8d83-dcb6e82ecf52</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>97b26a6a-8cc5-43cb-b4f4-c808890d8903</ProductId>
<SegmentId>3e067102-5777-418f-b9f6-5809e041f585</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>088010d6-44fa-4ba3-acee-21b9f2fa9ac7</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>c2e2afe0-7a7c-4c13-9ec5-18e879a09618</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>049f6f3c-e8ae-475a-9e88-f4890c64e4c8</EventId>
<FirstName>sample string 4</FirstName>
<Id>bfd45c54-9076-4919-8d83-dcb6e82ecf52</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>97b26a6a-8cc5-43cb-b4f4-c808890d8903</ProductId>
<SegmentId>3e067102-5777-418f-b9f6-5809e041f585</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>088010d6-44fa-4ba3-acee-21b9f2fa9ac7</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>ee883ee3-f5e5-486e-815e-b5fd26bfff3d</Id>
<IsPaid>true</IsPaid>
<UniqueId>8310434c-489b-46e1-bd6f-c7ab32abed38</UniqueId>
</CartResponseModel>