GET api/AppointmentRequestAvailableDates/search?accountNumber={accountNumber}&requestDate={requestDate}&locationId={locationId}&selectedDoctorId={selectedDoctorId}&appointmentRequestReasonId={appointmentRequestReasonId}&startDate={startDate}&endDate={endDate}
Returns a list of available dates.
Request Information
URI Parameters
| Name | Description | Type | Additional 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 |
| startDate |
Start date for requesting available dates |
date |
None. |
| endDate |
End date for requesting available dates |
date |
None. |
Body Parameters
None.
Response Information
Resource Description
ListModelOfAvailableDateModel| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalItems | integer |
None. |
|
| ItemsPerPage | integer |
None. |
|
| CurrentPage | integer |
None. |
|
| TotalPages | integer |
None. |
|
| FirstRowOnPage | integer |
None. |
|
| LastRowOnPage | integer |
None. |
|
| Rows | Collection of AvailableDateModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"TotalItems": 1,
"ItemsPerPage": 2,
"CurrentPage": 3,
"TotalPages": 4,
"FirstRowOnPage": 5,
"LastRowOnPage": 6,
"Rows": [
{
"Year": 1,
"Month": 2,
"Day": 3
},
{
"Year": 1,
"Month": 2,
"Day": 3
}
]
}
application/xml, text/xml
Sample:
<ListModelOfAvailableDateModelaKbTw8r2 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:AvailableDateModel>
<d2p1:Day>3</d2p1:Day>
<d2p1:Month>2</d2p1:Month>
<d2p1:Year>1</d2p1:Year>
</d2p1:AvailableDateModel>
<d2p1:AvailableDateModel>
<d2p1:Day>3</d2p1:Day>
<d2p1:Month>2</d2p1:Month>
<d2p1:Year>1</d2p1:Year>
</d2p1:AvailableDateModel>
</Rows>
<TotalItems>1</TotalItems>
<TotalPages>4</TotalPages>
</ListModelOfAvailableDateModelaKbTw8r2>