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": "9ff0a679-47a2-4adb-8b93-58b06923c27e",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "17fd45c2-77e7-46ef-a206-95e9a18e761d",
"CartItems": [
{
"Id": "bd47417a-ff40-4353-8a5b-584b604ce0da",
"EventId": "0a645126-bd73-434e-84bf-0362e09988d3",
"ProductId": "cdf0576c-a7ce-4bba-9ccf-ab3ed0383103",
"TicketTypeId": "dada9afc-7103-4473-9ed4-07358d7cbb05",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "d21ffbfc-18bc-4bc7-bd90-4318d482d805",
"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": "dd5a6c4e-3257-4fc4-b6f8-15f4846deb67",
"SortOrder": 13
},
{
"Id": "bd47417a-ff40-4353-8a5b-584b604ce0da",
"EventId": "0a645126-bd73-434e-84bf-0362e09988d3",
"ProductId": "cdf0576c-a7ce-4bba-9ccf-ab3ed0383103",
"TicketTypeId": "dada9afc-7103-4473-9ed4-07358d7cbb05",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "d21ffbfc-18bc-4bc7-bd90-4318d482d805",
"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": "dd5a6c4e-3257-4fc4-b6f8-15f4846deb67",
"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>d21ffbfc-18bc-4bc7-bd90-4318d482d805</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>0a645126-bd73-434e-84bf-0362e09988d3</EventId>
<FirstName>sample string 4</FirstName>
<Id>bd47417a-ff40-4353-8a5b-584b604ce0da</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>cdf0576c-a7ce-4bba-9ccf-ab3ed0383103</ProductId>
<SegmentId>dd5a6c4e-3257-4fc4-b6f8-15f4846deb67</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>dada9afc-7103-4473-9ed4-07358d7cbb05</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>d21ffbfc-18bc-4bc7-bd90-4318d482d805</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>0a645126-bd73-434e-84bf-0362e09988d3</EventId>
<FirstName>sample string 4</FirstName>
<Id>bd47417a-ff40-4353-8a5b-584b604ce0da</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>cdf0576c-a7ce-4bba-9ccf-ab3ed0383103</ProductId>
<SegmentId>dd5a6c4e-3257-4fc4-b6f8-15f4846deb67</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>dada9afc-7103-4473-9ed4-07358d7cbb05</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>9ff0a679-47a2-4adb-8b93-58b06923c27e</Id>
<IsPaid>true</IsPaid>
<UniqueId>17fd45c2-77e7-46ef-a206-95e9a18e761d</UniqueId>
</CartResponseModel>