GET api/Event/GetCurrentCart?userId={userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

string

Required

Body Parameters

None.

Response Information

Resource Description

CartResponseModel
NameDescriptionTypeAdditional 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": "14b3d42d-bf12-4b00-a167-1f04befe334d",
  "AppUserId": "sample string 2",
  "IsPaid": true,
  "UniqueId": "6bc1366d-f6a5-4604-8586-30d3579e4cbb",
  "CartItems": [
    {
      "Id": "d28f696b-d4cd-48d4-ae2c-7d4fb758d387",
      "EventId": "fd1fbba1-ed1e-40e5-9893-c2757e181dbc",
      "ProductId": "131201a1-14b0-4949-a2bb-938d5a4357cc",
      "TicketTypeId": "68dde7c4-46f9-4c22-9950-ab2b87be1b06",
      "UnitBasePrice": 2.0,
      "DeliveryCost": 3.0,
      "ClassifiedItemId": "d7cdcaa8-db24-440d-8137-b93dc346ff36",
      "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": "da22b427-89c9-415b-a66c-5eb41a74ab34",
      "SortOrder": 13
    },
    {
      "Id": "d28f696b-d4cd-48d4-ae2c-7d4fb758d387",
      "EventId": "fd1fbba1-ed1e-40e5-9893-c2757e181dbc",
      "ProductId": "131201a1-14b0-4949-a2bb-938d5a4357cc",
      "TicketTypeId": "68dde7c4-46f9-4c22-9950-ab2b87be1b06",
      "UnitBasePrice": 2.0,
      "DeliveryCost": 3.0,
      "ClassifiedItemId": "d7cdcaa8-db24-440d-8137-b93dc346ff36",
      "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": "da22b427-89c9-415b-a66c-5eb41a74ab34",
      "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>d7cdcaa8-db24-440d-8137-b93dc346ff36</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>fd1fbba1-ed1e-40e5-9893-c2757e181dbc</EventId>
      <FirstName>sample string 4</FirstName>
      <Id>d28f696b-d4cd-48d4-ae2c-7d4fb758d387</Id>
      <LastName>sample string 5</LastName>
      <Mobile>sample string 12</Mobile>
      <ProductId>131201a1-14b0-4949-a2bb-938d5a4357cc</ProductId>
      <SegmentId>da22b427-89c9-415b-a66c-5eb41a74ab34</SegmentId>
      <ShippingAddress>sample string 11</ShippingAddress>
      <SortOrder>13</SortOrder>
      <TicketTypeId>68dde7c4-46f9-4c22-9950-ab2b87be1b06</TicketTypeId>
      <UnitBasePrice>2</UnitBasePrice>
    </CartItemResponseModel>
    <CartItemResponseModel>
      <AdditionalEventInformation>sample string 10</AdditionalEventInformation>
      <ClassifiedItemId>d7cdcaa8-db24-440d-8137-b93dc346ff36</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>fd1fbba1-ed1e-40e5-9893-c2757e181dbc</EventId>
      <FirstName>sample string 4</FirstName>
      <Id>d28f696b-d4cd-48d4-ae2c-7d4fb758d387</Id>
      <LastName>sample string 5</LastName>
      <Mobile>sample string 12</Mobile>
      <ProductId>131201a1-14b0-4949-a2bb-938d5a4357cc</ProductId>
      <SegmentId>da22b427-89c9-415b-a66c-5eb41a74ab34</SegmentId>
      <ShippingAddress>sample string 11</ShippingAddress>
      <SortOrder>13</SortOrder>
      <TicketTypeId>68dde7c4-46f9-4c22-9950-ab2b87be1b06</TicketTypeId>
      <UnitBasePrice>2</UnitBasePrice>
    </CartItemResponseModel>
  </CartItems>
  <Id>14b3d42d-bf12-4b00-a167-1f04befe334d</Id>
  <IsPaid>true</IsPaid>
  <UniqueId>6bc1366d-f6a5-4604-8586-30d3579e4cbb</UniqueId>
</CartResponseModel>