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": "a03bf246-fc98-4c5c-9d7b-189c00a83255",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "ec6c8e92-e4d1-4023-b81e-04a4ba130b99",
"CartItems": [
{
"Id": "a14b72ca-08d7-4636-9cda-4b90d5ae19d8",
"EventId": "1b23dbee-f489-4aac-aa65-2f986a6c37e7",
"ProductId": "3d6d1bfd-bdb6-472a-96bf-055f0e3bd88d",
"TicketTypeId": "3013dc55-384b-492b-903e-75817b4dfd65",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "fd53fe9b-6a70-409c-b184-4a74f30e9fc7",
"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": "2d02dc5d-2f69-4ec6-a3b5-6983dd7ce599",
"SortOrder": 13
},
{
"Id": "a14b72ca-08d7-4636-9cda-4b90d5ae19d8",
"EventId": "1b23dbee-f489-4aac-aa65-2f986a6c37e7",
"ProductId": "3d6d1bfd-bdb6-472a-96bf-055f0e3bd88d",
"TicketTypeId": "3013dc55-384b-492b-903e-75817b4dfd65",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "fd53fe9b-6a70-409c-b184-4a74f30e9fc7",
"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": "2d02dc5d-2f69-4ec6-a3b5-6983dd7ce599",
"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>fd53fe9b-6a70-409c-b184-4a74f30e9fc7</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>1b23dbee-f489-4aac-aa65-2f986a6c37e7</EventId>
<FirstName>sample string 4</FirstName>
<Id>a14b72ca-08d7-4636-9cda-4b90d5ae19d8</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>3d6d1bfd-bdb6-472a-96bf-055f0e3bd88d</ProductId>
<SegmentId>2d02dc5d-2f69-4ec6-a3b5-6983dd7ce599</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>3013dc55-384b-492b-903e-75817b4dfd65</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>fd53fe9b-6a70-409c-b184-4a74f30e9fc7</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>1b23dbee-f489-4aac-aa65-2f986a6c37e7</EventId>
<FirstName>sample string 4</FirstName>
<Id>a14b72ca-08d7-4636-9cda-4b90d5ae19d8</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>3d6d1bfd-bdb6-472a-96bf-055f0e3bd88d</ProductId>
<SegmentId>2d02dc5d-2f69-4ec6-a3b5-6983dd7ce599</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>3013dc55-384b-492b-903e-75817b4dfd65</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>a03bf246-fc98-4c5c-9d7b-189c00a83255</Id>
<IsPaid>true</IsPaid>
<UniqueId>ec6c8e92-e4d1-4023-b81e-04a4ba130b99</UniqueId>
</CartResponseModel>