POST api/Notification/getBooking?officeId={officeId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
officeId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Bookings
NameDescriptionTypeAdditional information
ID

integer

None.

StaffFirstName

string

None.

StaffLastName

string

None.

FirstName

string

None.

LastName

string

None.

BirthDate

string

None.

BookingDate

string

None.

BookingDay

string

None.

BookingTime

string

None.

Email

string

None.

isRead

integer

None.

reasonForVisit

string

None.

InsuranceCompanyName

string

None.

ContactNo

string

None.

OfficeId

integer

None.

InsuranceIDNumber

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "StaffFirstName": "sample string 2",
    "StaffLastName": "sample string 3",
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "BirthDate": "sample string 6",
    "BookingDate": "sample string 7",
    "BookingDay": "sample string 8",
    "BookingTime": "sample string 9",
    "Email": "sample string 10",
    "isRead": 11,
    "reasonForVisit": "sample string 12",
    "InsuranceCompanyName": "sample string 13",
    "ContactNo": "sample string 14",
    "OfficeId": 15,
    "InsuranceIDNumber": "sample string 16"
  },
  {
    "ID": 1,
    "StaffFirstName": "sample string 2",
    "StaffLastName": "sample string 3",
    "FirstName": "sample string 4",
    "LastName": "sample string 5",
    "BirthDate": "sample string 6",
    "BookingDate": "sample string 7",
    "BookingDay": "sample string 8",
    "BookingTime": "sample string 9",
    "Email": "sample string 10",
    "isRead": 11,
    "reasonForVisit": "sample string 12",
    "InsuranceCompanyName": "sample string 13",
    "ContactNo": "sample string 14",
    "OfficeId": 15,
    "InsuranceIDNumber": "sample string 16"
  }
]

application/xml, text/xml

Sample:
<ArrayOfBookings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EasyPatientHubAPI.Models.Notification">
  <Bookings>
    <BirthDate>sample string 6</BirthDate>
    <BookingDate>sample string 7</BookingDate>
    <BookingDay>sample string 8</BookingDay>
    <BookingTime>sample string 9</BookingTime>
    <ContactNo>sample string 14</ContactNo>
    <Email>sample string 10</Email>
    <FirstName>sample string 4</FirstName>
    <ID>1</ID>
    <InsuranceCompanyName>sample string 13</InsuranceCompanyName>
    <InsuranceIDNumber>sample string 16</InsuranceIDNumber>
    <LastName>sample string 5</LastName>
    <OfficeId>15</OfficeId>
    <StaffFirstName>sample string 2</StaffFirstName>
    <StaffLastName>sample string 3</StaffLastName>
    <isRead>11</isRead>
    <reasonForVisit>sample string 12</reasonForVisit>
  </Bookings>
  <Bookings>
    <BirthDate>sample string 6</BirthDate>
    <BookingDate>sample string 7</BookingDate>
    <BookingDay>sample string 8</BookingDay>
    <BookingTime>sample string 9</BookingTime>
    <ContactNo>sample string 14</ContactNo>
    <Email>sample string 10</Email>
    <FirstName>sample string 4</FirstName>
    <ID>1</ID>
    <InsuranceCompanyName>sample string 13</InsuranceCompanyName>
    <InsuranceIDNumber>sample string 16</InsuranceIDNumber>
    <LastName>sample string 5</LastName>
    <OfficeId>15</OfficeId>
    <StaffFirstName>sample string 2</StaffFirstName>
    <StaffLastName>sample string 3</StaffLastName>
    <isRead>11</isRead>
    <reasonForVisit>sample string 12</reasonForVisit>
  </Bookings>
</ArrayOfBookings>