GET api/availabledoctorshours/search?accountNumber={accountNumber}&requestDate={requestDate}&locationId={locationId}&selectedDoctorId={selectedDoctorId}&appointmentRequestReasonId={appointmentRequestReasonId}

Returns a list of available doctors and time.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountNumber

Account number

string

Required

requestDate

Date of request

date

Required

locationId

Unique ID of location

globally unique identifier

Required

selectedDoctorId

Unique ID of selected doctor

globally unique identifier

Required

appointmentRequestReasonId

Unique ID of appointment request reason

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

ListModelOfAvailableDoctorsHoursModel
NameDescriptionTypeAdditional information
TotalItems

integer

None.

ItemsPerPage

integer

None.

CurrentPage

integer

None.

TotalPages

integer

None.

FirstRowOnPage

integer

None.

LastRowOnPage

integer

None.

Rows

Collection of AvailableDoctorsHoursModel

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalItems": 1,
  "ItemsPerPage": 2,
  "CurrentPage": 3,
  "TotalPages": 4,
  "FirstRowOnPage": 5,
  "LastRowOnPage": 6,
  "Rows": [
    {
      "DoctorId": "95aad841-0e5a-4167-b899-f911c8b400ef",
      "DoctorFullName": "sample string 2",
      "Hour": 3,
      "Minutes": 4
    },
    {
      "DoctorId": "95aad841-0e5a-4167-b899-f911c8b400ef",
      "DoctorFullName": "sample string 2",
      "Hour": 3,
      "Minutes": 4
    }
  ]
}

application/xml, text/xml

Sample:
<ListModelOfAvailableDoctorsHoursModelaKbTw8r2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Mobile.Api.Models">
  <CurrentPage>3</CurrentPage>
  <FirstRowOnPage>5</FirstRowOnPage>
  <ItemsPerPage>2</ItemsPerPage>
  <LastRowOnPage>6</LastRowOnPage>
  <Rows xmlns:d2p1="http://schemas.datacontract.org/2004/07/GlobalPortal.Mobile.Api.Models.AppointmentRequests">
    <d2p1:AvailableDoctorsHoursModel>
      <d2p1:DoctorFullName>sample string 2</d2p1:DoctorFullName>
      <d2p1:DoctorId>95aad841-0e5a-4167-b899-f911c8b400ef</d2p1:DoctorId>
      <d2p1:Hour>3</d2p1:Hour>
      <d2p1:Minutes>4</d2p1:Minutes>
    </d2p1:AvailableDoctorsHoursModel>
    <d2p1:AvailableDoctorsHoursModel>
      <d2p1:DoctorFullName>sample string 2</d2p1:DoctorFullName>
      <d2p1:DoctorId>95aad841-0e5a-4167-b899-f911c8b400ef</d2p1:DoctorId>
      <d2p1:Hour>3</d2p1:Hour>
      <d2p1:Minutes>4</d2p1:Minutes>
    </d2p1:AvailableDoctorsHoursModel>
  </Rows>
  <TotalItems>1</TotalItems>
  <TotalPages>4</TotalPages>
</ListModelOfAvailableDoctorsHoursModelaKbTw8r2>