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": "3089b9e7-0804-44e1-a935-e637b79d0981",
"AppUserId": "sample string 2",
"IsPaid": true,
"UniqueId": "29232fc8-c07e-4919-97b3-a2b78a0531c7",
"CartItems": [
{
"Id": "a3683c09-111b-4797-867c-944ac0685456",
"EventId": "37d0302c-197a-4ea7-93ea-4ff1af28ff1a",
"ProductId": "a5cbd61e-e9d4-41c4-ace0-766eda12cc3c",
"TicketTypeId": "dffcb089-0b8e-49f6-b922-e4a0306c200c",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "7b1c94a3-4346-4566-bf56-47adcb946959",
"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": "a43046d1-afdc-4b98-9c68-2e0c743e28fb",
"SortOrder": 13
},
{
"Id": "a3683c09-111b-4797-867c-944ac0685456",
"EventId": "37d0302c-197a-4ea7-93ea-4ff1af28ff1a",
"ProductId": "a5cbd61e-e9d4-41c4-ace0-766eda12cc3c",
"TicketTypeId": "dffcb089-0b8e-49f6-b922-e4a0306c200c",
"UnitBasePrice": 2.0,
"DeliveryCost": 3.0,
"ClassifiedItemId": "7b1c94a3-4346-4566-bf56-47adcb946959",
"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": "a43046d1-afdc-4b98-9c68-2e0c743e28fb",
"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>7b1c94a3-4346-4566-bf56-47adcb946959</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>37d0302c-197a-4ea7-93ea-4ff1af28ff1a</EventId>
<FirstName>sample string 4</FirstName>
<Id>a3683c09-111b-4797-867c-944ac0685456</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>a5cbd61e-e9d4-41c4-ace0-766eda12cc3c</ProductId>
<SegmentId>a43046d1-afdc-4b98-9c68-2e0c743e28fb</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>dffcb089-0b8e-49f6-b922-e4a0306c200c</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
<CartItemResponseModel>
<AdditionalEventInformation>sample string 10</AdditionalEventInformation>
<ClassifiedItemId>7b1c94a3-4346-4566-bf56-47adcb946959</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>37d0302c-197a-4ea7-93ea-4ff1af28ff1a</EventId>
<FirstName>sample string 4</FirstName>
<Id>a3683c09-111b-4797-867c-944ac0685456</Id>
<LastName>sample string 5</LastName>
<Mobile>sample string 12</Mobile>
<ProductId>a5cbd61e-e9d4-41c4-ace0-766eda12cc3c</ProductId>
<SegmentId>a43046d1-afdc-4b98-9c68-2e0c743e28fb</SegmentId>
<ShippingAddress>sample string 11</ShippingAddress>
<SortOrder>13</SortOrder>
<TicketTypeId>dffcb089-0b8e-49f6-b922-e4a0306c200c</TicketTypeId>
<UnitBasePrice>2</UnitBasePrice>
</CartItemResponseModel>
</CartItems>
<Id>3089b9e7-0804-44e1-a935-e637b79d0981</Id>
<IsPaid>true</IsPaid>
<UniqueId>29232fc8-c07e-4919-97b3-a2b78a0531c7</UniqueId>
</CartResponseModel>