GET Api/Appointments/GetAppointments?bookingnumber={bookingnumber}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bookingnumber

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Appointments
NameDescriptionTypeAdditional information
AppointmentId

integer

None.

BookingNumber

string

None.

LocationId

integer

None.

DepartmentId

integer

None.

ProductId

integer

None.

NumberOfPersons

integer

None.

State

integer

None.

StartTime

date

None.

EndTime

date

None.

CustomerGender

string

None.

CustomerFirstName

string

None.

CustomerPrefix

string

None.

CustomerInfix

string

None.

CustomerLastName

string

None.

ExternalId

string

None.

Email

string

None.

CustomerPhone

string

None.

CustomerMobliePhone

string

None.

CustomField

string

None.

CustomerBirthDate

string

None.

Position

integer

None.

Deleted

boolean

None.

NemoqUnitNumber

integer

None.

QbetterServiceId

string

None.

AppointmentFields

UIcomponents

None.

SelectedMultiProdUsers

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AppointmentId": 1,
    "BookingNumber": "sample string 2",
    "LocationId": 3,
    "DepartmentId": 4,
    "ProductId": 5,
    "NumberOfPersons": 6,
    "State": 7,
    "StartTime": "2019-09-15T15:49:49.038015+02:00",
    "EndTime": "2019-09-15T15:49:49.038015+02:00",
    "CustomerGender": "sample string 10",
    "CustomerFirstName": "sample string 11",
    "CustomerPrefix": "sample string 12",
    "CustomerInfix": "sample string 13",
    "CustomerLastName": "sample string 14",
    "ExternalId": "sample string 15",
    "Email": "sample string 16",
    "CustomerPhone": "sample string 17",
    "CustomerMobliePhone": "sample string 18",
    "CustomField": "sample string 19",
    "CustomerBirthDate": "sample string 20",
    "Position": 21,
    "Deleted": true,
    "NemoqUnitNumber": 23,
    "QbetterServiceId": "sample string 24",
    "AppointmentFields": {
      "controls": [
        {
          "Name": "sample string 1",
          "Label": "sample string 2",
          "Order": 3,
          "Required": true,
          "CustomerData": true,
          "Text": "sample string 6",
          "Type": "sample string 7",
          "ValidationTypeName": "sample string 8",
          "ControlFriendlyName": "sample string 9",
          "FieldPerPerson": true,
          "FieldPerNotifier": true
        },
        {
          "Name": "sample string 1",
          "Label": "sample string 2",
          "Order": 3,
          "Required": true,
          "CustomerData": true,
          "Text": "sample string 6",
          "Type": "sample string 7",
          "ValidationTypeName": "sample string 8",
          "ControlFriendlyName": "sample string 9",
          "FieldPerPerson": true,
          "FieldPerNotifier": true
        }
      ]
    },
    "SelectedMultiProdUsers": "sample string 25"
  },
  {
    "AppointmentId": 1,
    "BookingNumber": "sample string 2",
    "LocationId": 3,
    "DepartmentId": 4,
    "ProductId": 5,
    "NumberOfPersons": 6,
    "State": 7,
    "StartTime": "2019-09-15T15:49:49.038015+02:00",
    "EndTime": "2019-09-15T15:49:49.038015+02:00",
    "CustomerGender": "sample string 10",
    "CustomerFirstName": "sample string 11",
    "CustomerPrefix": "sample string 12",
    "CustomerInfix": "sample string 13",
    "CustomerLastName": "sample string 14",
    "ExternalId": "sample string 15",
    "Email": "sample string 16",
    "CustomerPhone": "sample string 17",
    "CustomerMobliePhone": "sample string 18",
    "CustomField": "sample string 19",
    "CustomerBirthDate": "sample string 20",
    "Position": 21,
    "Deleted": true,
    "NemoqUnitNumber": 23,
    "QbetterServiceId": "sample string 24",
    "AppointmentFields": {
      "controls": [
        {
          "Name": "sample string 1",
          "Label": "sample string 2",
          "Order": 3,
          "Required": true,
          "CustomerData": true,
          "Text": "sample string 6",
          "Type": "sample string 7",
          "ValidationTypeName": "sample string 8",
          "ControlFriendlyName": "sample string 9",
          "FieldPerPerson": true,
          "FieldPerNotifier": true
        },
        {
          "Name": "sample string 1",
          "Label": "sample string 2",
          "Order": 3,
          "Required": true,
          "CustomerData": true,
          "Text": "sample string 6",
          "Type": "sample string 7",
          "ValidationTypeName": "sample string 8",
          "ControlFriendlyName": "sample string 9",
          "FieldPerPerson": true,
          "FieldPerNotifier": true
        }
      ]
    },
    "SelectedMultiProdUsers": "sample string 25"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAppointments xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Appointments>
    <AppointmentId>1</AppointmentId>
    <BookingNumber>sample string 2</BookingNumber>
    <LocationId>3</LocationId>
    <DepartmentId>4</DepartmentId>
    <ProductId>5</ProductId>
    <NumberOfPersons>6</NumberOfPersons>
    <State>7</State>
    <StartTime>2019-09-15T15:49:49.038015+02:00</StartTime>
    <EndTime>2019-09-15T15:49:49.038015+02:00</EndTime>
    <CustomerGender>sample string 10</CustomerGender>
    <CustomerFirstName>sample string 11</CustomerFirstName>
    <CustomerPrefix>sample string 12</CustomerPrefix>
    <CustomerInfix>sample string 13</CustomerInfix>
    <CustomerLastName>sample string 14</CustomerLastName>
    <ExternalId>sample string 15</ExternalId>
    <Email>sample string 16</Email>
    <CustomerPhone>sample string 17</CustomerPhone>
    <CustomerMobliePhone>sample string 18</CustomerMobliePhone>
    <CustomField>sample string 19</CustomField>
    <CustomerBirthDate>sample string 20</CustomerBirthDate>
    <Position>21</Position>
    <Deleted>true</Deleted>
    <NemoqUnitNumber>23</NemoqUnitNumber>
    <QbetterServiceId>sample string 24</QbetterServiceId>
    <AppointmentFields>
      <controls>
        <BaseControls>
          <Name>sample string 1</Name>
          <Label>sample string 2</Label>
          <Order>3</Order>
          <Required>true</Required>
          <CustomerData>true</CustomerData>
          <Text>sample string 6</Text>
          <Type>sample string 7</Type>
          <ValidationTypeName>sample string 8</ValidationTypeName>
          <ControlFriendlyName>sample string 9</ControlFriendlyName>
          <FieldPerPerson>true</FieldPerPerson>
          <FieldPerNotifier>true</FieldPerNotifier>
        </BaseControls>
        <BaseControls>
          <Name>sample string 1</Name>
          <Label>sample string 2</Label>
          <Order>3</Order>
          <Required>true</Required>
          <CustomerData>true</CustomerData>
          <Text>sample string 6</Text>
          <Type>sample string 7</Type>
          <ValidationTypeName>sample string 8</ValidationTypeName>
          <ControlFriendlyName>sample string 9</ControlFriendlyName>
          <FieldPerPerson>true</FieldPerPerson>
          <FieldPerNotifier>true</FieldPerNotifier>
        </BaseControls>
      </controls>
    </AppointmentFields>
    <SelectedMultiProdUsers>sample string 25</SelectedMultiProdUsers>
  </Appointments>
  <Appointments>
    <AppointmentId>1</AppointmentId>
    <BookingNumber>sample string 2</BookingNumber>
    <LocationId>3</LocationId>
    <DepartmentId>4</DepartmentId>
    <ProductId>5</ProductId>
    <NumberOfPersons>6</NumberOfPersons>
    <State>7</State>
    <StartTime>2019-09-15T15:49:49.038015+02:00</StartTime>
    <EndTime>2019-09-15T15:49:49.038015+02:00</EndTime>
    <CustomerGender>sample string 10</CustomerGender>
    <CustomerFirstName>sample string 11</CustomerFirstName>
    <CustomerPrefix>sample string 12</CustomerPrefix>
    <CustomerInfix>sample string 13</CustomerInfix>
    <CustomerLastName>sample string 14</CustomerLastName>
    <ExternalId>sample string 15</ExternalId>
    <Email>sample string 16</Email>
    <CustomerPhone>sample string 17</CustomerPhone>
    <CustomerMobliePhone>sample string 18</CustomerMobliePhone>
    <CustomField>sample string 19</CustomField>
    <CustomerBirthDate>sample string 20</CustomerBirthDate>
    <Position>21</Position>
    <Deleted>true</Deleted>
    <NemoqUnitNumber>23</NemoqUnitNumber>
    <QbetterServiceId>sample string 24</QbetterServiceId>
    <AppointmentFields>
      <controls>
        <BaseControls>
          <Name>sample string 1</Name>
          <Label>sample string 2</Label>
          <Order>3</Order>
          <Required>true</Required>
          <CustomerData>true</CustomerData>
          <Text>sample string 6</Text>
          <Type>sample string 7</Type>
          <ValidationTypeName>sample string 8</ValidationTypeName>
          <ControlFriendlyName>sample string 9</ControlFriendlyName>
          <FieldPerPerson>true</FieldPerPerson>
          <FieldPerNotifier>true</FieldPerNotifier>
        </BaseControls>
        <BaseControls>
          <Name>sample string 1</Name>
          <Label>sample string 2</Label>
          <Order>3</Order>
          <Required>true</Required>
          <CustomerData>true</CustomerData>
          <Text>sample string 6</Text>
          <Type>sample string 7</Type>
          <ValidationTypeName>sample string 8</ValidationTypeName>
          <ControlFriendlyName>sample string 9</ControlFriendlyName>
          <FieldPerPerson>true</FieldPerPerson>
          <FieldPerNotifier>true</FieldPerNotifier>
        </BaseControls>
      </controls>
    </AppointmentFields>
    <SelectedMultiProdUsers>sample string 25</SelectedMultiProdUsers>
  </Appointments>
</ArrayOfAppointments>