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": "603fda25-242e-4268-a4b0-64fea1b5554c",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "562b8bdd-309a-4919-a888-452dab17b56d",
"CartItems": [
{
"Id": "dd49679c-fe4e-4c60-b5e3-f3a46f77103b",
"EventId": "7a0fe474-4e28-4313-b5e5-45886f55f4f2",
"ProductId": "7813ae49-ab11-45a8-81fb-51c757a12f20",
"TicketTypeId": "353cc83d-9572-46a2-a2b9-be9323b150cf",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "5248b65f-1938-4e35-b853-46d4e99cfdf7",
"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": "b735685d-31ff-4e8f-afcd-3bd1f7170c62",
"SortOrder": 13
},
{
"Id": "dd49679c-fe4e-4c60-b5e3-f3a46f77103b",
"EventId": "7a0fe474-4e28-4313-b5e5-45886f55f4f2",
"ProductId": "7813ae49-ab11-45a8-81fb-51c757a12f20",
"TicketTypeId": "353cc83d-9572-46a2-a2b9-be9323b150cf",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "5248b65f-1938-4e35-b853-46d4e99cfdf7",
"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": "b735685d-31ff-4e8f-afcd-3bd1f7170c62",
"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>5248b65f-1938-4e35-b853-46d4e99cfdf7</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>7a0fe474-4e28-4313-b5e5-45886f55f4f2</EventId>
<FirstName>sample string 4</FirstName>
<Id>dd49679c-fe4e-4c60-b5e3-f3a46f77103b</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>7813ae49-ab11-45a8-81fb-51c757a12f20</ProductId>
<SegmentId>b735685d-31ff-4e8f-afcd-3bd1f7170c62</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>353cc83d-9572-46a2-a2b9-be9323b150cf</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>5248b65f-1938-4e35-b853-46d4e99cfdf7</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>7a0fe474-4e28-4313-b5e5-45886f55f4f2</EventId>
<FirstName>sample string 4</FirstName>
<Id>dd49679c-fe4e-4c60-b5e3-f3a46f77103b</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>7813ae49-ab11-45a8-81fb-51c757a12f20</ProductId>
<SegmentId>b735685d-31ff-4e8f-afcd-3bd1f7170c62</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>353cc83d-9572-46a2-a2b9-be9323b150cf</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>603fda25-242e-4268-a4b0-64fea1b5554c</Id>
<IsPaid>true</IsPaid>
<UniqueId>562b8bdd-309a-4919-a888-452dab17b56d</UniqueId>
</CartResponseModel>