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": "f1138258-e2a5-4f73-b952-2bd8ddd4a78f",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "51ea6b3b-8c18-4fa0-8ef1-0ccd3f69f741",
"CartItems": [
{
"Id": "269ea954-b312-4f63-9133-762912f9beb8",
"EventId": "7e749a19-a2c9-4bfa-aea6-0d78b902bf28",
"ProductId": "045dce60-9455-46f4-a458-1a8de68664d7",
"TicketTypeId": "b241e7e6-0dd9-4b97-b5b9-fd87fae2e83b",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "7aa4d218-3568-488d-82d4-e0569bfe5876",
"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": "57b1a62d-8778-412f-8423-10b601724fed",
"SortOrder": 13
},
{
"Id": "269ea954-b312-4f63-9133-762912f9beb8",
"EventId": "7e749a19-a2c9-4bfa-aea6-0d78b902bf28",
"ProductId": "045dce60-9455-46f4-a458-1a8de68664d7",
"TicketTypeId": "b241e7e6-0dd9-4b97-b5b9-fd87fae2e83b",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "7aa4d218-3568-488d-82d4-e0569bfe5876",
"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": "57b1a62d-8778-412f-8423-10b601724fed",
"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>7aa4d218-3568-488d-82d4-e0569bfe5876</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>7e749a19-a2c9-4bfa-aea6-0d78b902bf28</EventId>
<FirstName>sample string 4</FirstName>
<Id>269ea954-b312-4f63-9133-762912f9beb8</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>045dce60-9455-46f4-a458-1a8de68664d7</ProductId>
<SegmentId>57b1a62d-8778-412f-8423-10b601724fed</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>b241e7e6-0dd9-4b97-b5b9-fd87fae2e83b</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>7aa4d218-3568-488d-82d4-e0569bfe5876</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>7e749a19-a2c9-4bfa-aea6-0d78b902bf28</EventId>
<FirstName>sample string 4</FirstName>
<Id>269ea954-b312-4f63-9133-762912f9beb8</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>045dce60-9455-46f4-a458-1a8de68664d7</ProductId>
<SegmentId>57b1a62d-8778-412f-8423-10b601724fed</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>b241e7e6-0dd9-4b97-b5b9-fd87fae2e83b</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>f1138258-e2a5-4f73-b952-2bd8ddd4a78f</Id>
<IsPaid>true</IsPaid>
<UniqueId>51ea6b3b-8c18-4fa0-8ef1-0ccd3f69f741</UniqueId>
</CartResponseModel>