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": "384bfd35-5c28-42e1-afc5-7a8ace58e305",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "a9047489-07a9-4a20-8ad6-97064b4f6e03",
"CartItems": [
{
"Id": "037f938b-cee5-4632-8051-e5284f2b7b5b",
"EventId": "2f502616-5bda-45c8-bcbd-21446818a36c",
"ProductId": "466475e0-0ab4-4f9a-a506-ab7eda7590bd",
"TicketTypeId": "12588c79-4d84-45b0-a943-3f0b21133b96",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "4164f23e-15e0-44d0-a45e-17b012d9dac6",
"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": "3c1ddc4e-d049-4703-9bff-deaa6d424da2",
"SortOrder": 13
},
{
"Id": "037f938b-cee5-4632-8051-e5284f2b7b5b",
"EventId": "2f502616-5bda-45c8-bcbd-21446818a36c",
"ProductId": "466475e0-0ab4-4f9a-a506-ab7eda7590bd",
"TicketTypeId": "12588c79-4d84-45b0-a943-3f0b21133b96",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "4164f23e-15e0-44d0-a45e-17b012d9dac6",
"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": "3c1ddc4e-d049-4703-9bff-deaa6d424da2",
"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>4164f23e-15e0-44d0-a45e-17b012d9dac6</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>2f502616-5bda-45c8-bcbd-21446818a36c</EventId>
<FirstName>sample string 4</FirstName>
<Id>037f938b-cee5-4632-8051-e5284f2b7b5b</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>466475e0-0ab4-4f9a-a506-ab7eda7590bd</ProductId>
<SegmentId>3c1ddc4e-d049-4703-9bff-deaa6d424da2</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>12588c79-4d84-45b0-a943-3f0b21133b96</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>4164f23e-15e0-44d0-a45e-17b012d9dac6</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>2f502616-5bda-45c8-bcbd-21446818a36c</EventId>
<FirstName>sample string 4</FirstName>
<Id>037f938b-cee5-4632-8051-e5284f2b7b5b</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>466475e0-0ab4-4f9a-a506-ab7eda7590bd</ProductId>
<SegmentId>3c1ddc4e-d049-4703-9bff-deaa6d424da2</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>12588c79-4d84-45b0-a943-3f0b21133b96</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>384bfd35-5c28-42e1-afc5-7a8ace58e305</Id>
<IsPaid>true</IsPaid>
<UniqueId>a9047489-07a9-4a20-8ad6-97064b4f6e03</UniqueId>
</CartResponseModel>