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": "15be3a5b-1306-46f4-a966-f842d7d0b26a",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "2f6ceb16-c596-4f0c-87d9-23779dfc6fd5",
"CartItems": [
{
"Id": "8a9a1b4f-414c-4d39-ba9f-83ec70b0a453",
"EventId": "bfaca3d9-be39-451b-9f23-f7134ab49137",
"ProductId": "01a28687-a5b3-4eb0-b13a-d9d90fce80e8",
"TicketTypeId": "6c49f0a9-9f70-49b0-ab66-436ac10f374d",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "c1b91464-6ffb-4a6d-9f83-6838603b2a5b",
"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": "c1e8a40f-63a9-401d-9a45-3390304105a7",
"SortOrder": 13
},
{
"Id": "8a9a1b4f-414c-4d39-ba9f-83ec70b0a453",
"EventId": "bfaca3d9-be39-451b-9f23-f7134ab49137",
"ProductId": "01a28687-a5b3-4eb0-b13a-d9d90fce80e8",
"TicketTypeId": "6c49f0a9-9f70-49b0-ab66-436ac10f374d",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "c1b91464-6ffb-4a6d-9f83-6838603b2a5b",
"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": "c1e8a40f-63a9-401d-9a45-3390304105a7",
"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>c1b91464-6ffb-4a6d-9f83-6838603b2a5b</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>bfaca3d9-be39-451b-9f23-f7134ab49137</EventId>
<FirstName>sample string 4</FirstName>
<Id>8a9a1b4f-414c-4d39-ba9f-83ec70b0a453</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>01a28687-a5b3-4eb0-b13a-d9d90fce80e8</ProductId>
<SegmentId>c1e8a40f-63a9-401d-9a45-3390304105a7</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>6c49f0a9-9f70-49b0-ab66-436ac10f374d</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>c1b91464-6ffb-4a6d-9f83-6838603b2a5b</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>bfaca3d9-be39-451b-9f23-f7134ab49137</EventId>
<FirstName>sample string 4</FirstName>
<Id>8a9a1b4f-414c-4d39-ba9f-83ec70b0a453</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>01a28687-a5b3-4eb0-b13a-d9d90fce80e8</ProductId>
<SegmentId>c1e8a40f-63a9-401d-9a45-3390304105a7</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>6c49f0a9-9f70-49b0-ab66-436ac10f374d</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>15be3a5b-1306-46f4-a966-f842d7d0b26a</Id>
<IsPaid>true</IsPaid>
<UniqueId>2f6ceb16-c596-4f0c-87d9-23779dfc6fd5</UniqueId>
</CartResponseModel>