GET api/AppointmentRequestDoctors/search?accountNumber={accountNumber}&locationId={locationId}&page={page}&itemsPerPage={itemsPerPage}

Returns a list of doctors for appointment request process.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountNumber

Account number

string

Required

locationId

Unique ID of location.

globally unique identifier

Required

page

Page number requested (search results are paginated).

integer

Default value is 1

itemsPerPage

Items to return on each page. See page parameter above.

integer

Default value is 10

Body Parameters

None.

Response Information

Resource Description

ListModelOfDoctorModel
NameDescriptionTypeAdditional information
TotalItems

integer

None.

ItemsPerPage

integer

None.

CurrentPage

integer

None.

TotalPages

integer

None.

FirstRowOnPage

integer

None.

LastRowOnPage

integer

None.

Rows

Collection of DoctorModel

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalItems": 1,
  "ItemsPerPage": 2,
  "CurrentPage": 3,
  "TotalPages": 4,
  "FirstRowOnPage": 5,
  "LastRowOnPage": 6,
  "Rows": [
    {
      "Id": "ebf305cb-179d-4636-b49d-58f06096f135",
      "Alias": "sample string 2",
      "FullName": "sample string 3",
      "Active": true
    },
    {
      "Id": "ebf305cb-179d-4636-b49d-58f06096f135",
      "Alias": "sample string 2",
      "FullName": "sample string 3",
      "Active": true
    }
  ]
}

application/xml, text/xml

Sample:
<ListModelOfDoctorModelS_PNfnlY6 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.Doctors">
    <d2p1:DoctorModel>
      <d2p1:Active>true</d2p1:Active>
      <d2p1:Alias>sample string 2</d2p1:Alias>
      <d2p1:FullName>sample string 3</d2p1:FullName>
      <d2p1:Id>ebf305cb-179d-4636-b49d-58f06096f135</d2p1:Id>
    </d2p1:DoctorModel>
    <d2p1:DoctorModel>
      <d2p1:Active>true</d2p1:Active>
      <d2p1:Alias>sample string 2</d2p1:Alias>
      <d2p1:FullName>sample string 3</d2p1:FullName>
      <d2p1:Id>ebf305cb-179d-4636-b49d-58f06096f135</d2p1:Id>
    </d2p1:DoctorModel>
  </Rows>
  <TotalItems>1</TotalItems>
  <TotalPages>4</TotalPages>
</ListModelOfDoctorModelS_PNfnlY6>