POST api/DoctorAvailabiltySlots
Creates a new doctor availabilty slots or updates an existent doctor availabilty slots' information.
Request Information
URI Parameters
None.
Body Parameters
Model used to retrieve or set information about a doctor availability slot.
DoctorAvailabilitySlotModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Notes |
The reason why a doctor is unavailable. |
string |
None. |
| LocationExternalId |
Location's unique ID on integrating system (Required). |
string |
None. |
| DoctorExternalId |
Doctor's unique ID on integrating system (Required). |
string |
None. |
| Available |
Indicates whether the doctor is available or not. |
boolean |
None. |
| AppointmentRequestReasonId |
Indicates whether the doctor has an appointment request reason or not.. |
globally unique identifier |
None. |
| DoctorAvailabilityDates |
List of doctor availability dates in doctor availability slot model. |
Collection of DoctorAvailabilityDate |
None. |
| Id |
Unique ID of the model in the portal (Read only). |
globally unique identifier |
None. |
| ExternalId |
Unique ID of the model on integrating system (Required). |
string |
None. |
Request Formats
application/json, text/json
{
"notes": "sample string 1",
"locationExternalId": "sample string 2",
"doctorExternalId": "sample string 3",
"available": true,
"appointmentRequestReasonId": "540160fe-5577-4469-853a-cc8b634c1f06",
"doctorAvailabilityDates": [
{
"start": "2026-07-14T01:51:25.1761239+00:00",
"end": "2026-07-14T01:51:25.1761239+00:00"
},
{
"start": "2026-07-14T01:51:25.1761239+00:00",
"end": "2026-07-14T01:51:25.1761239+00:00"
}
],
"id": "2472be12-47db-49ef-8ab0-bc267ffa81ff",
"externalId": "sample string 6"
}
application/xml, text/xml
<DoctorAvailabilitySlotModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models.DoctorAvailabilitySlots">
<ExternalId xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models">sample string 6</ExternalId>
<Id xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models">2472be12-47db-49ef-8ab0-bc267ffa81ff</Id>
<AppointmentRequestReasonId>540160fe-5577-4469-853a-cc8b634c1f06</AppointmentRequestReasonId>
<Available>true</Available>
<DoctorAvailabilityDates>
<DoctorAvailabilitySlotModel.DoctorAvailabilityDate>
<End>2026-07-14T01:51:25.1761239+00:00</End>
<Start>2026-07-14T01:51:25.1761239+00:00</Start>
</DoctorAvailabilitySlotModel.DoctorAvailabilityDate>
<DoctorAvailabilitySlotModel.DoctorAvailabilityDate>
<End>2026-07-14T01:51:25.1761239+00:00</End>
<Start>2026-07-14T01:51:25.1761239+00:00</Start>
</DoctorAvailabilitySlotModel.DoctorAvailabilityDate>
</DoctorAvailabilityDates>
<DoctorExternalId>sample string 3</DoctorExternalId>
<LocationExternalId>sample string 2</LocationExternalId>
<Notes>sample string 1</Notes>
</DoctorAvailabilitySlotModel>
application/x-www-form-urlencoded
Response Information
Resource Description
DoctorAvailabilitySlotModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Notes |
The reason why a doctor is unavailable. |
string |
None. |
| LocationExternalId |
Location's unique ID on integrating system (Required). |
string |
None. |
| DoctorExternalId |
Doctor's unique ID on integrating system (Required). |
string |
None. |
| Available |
Indicates whether the doctor is available or not. |
boolean |
None. |
| AppointmentRequestReasonId |
Indicates whether the doctor has an appointment request reason or not.. |
globally unique identifier |
None. |
| DoctorAvailabilityDates |
List of doctor availability dates in doctor availability slot model. |
Collection of DoctorAvailabilityDate |
None. |
| Id |
Unique ID of the model in the portal (Read only). |
globally unique identifier |
None. |
| ExternalId |
Unique ID of the model on integrating system (Required). |
string |
None. |
Response Formats
application/json, text/json
{
"notes": "sample string 1",
"locationExternalId": "sample string 2",
"doctorExternalId": "sample string 3",
"available": true,
"appointmentRequestReasonId": "f6d34152-1d73-4693-9a9c-5ca3c263dd6f",
"doctorAvailabilityDates": [
{
"start": "2026-07-14T01:51:25.1761239+00:00",
"end": "2026-07-14T01:51:25.1761239+00:00"
},
{
"start": "2026-07-14T01:51:25.1761239+00:00",
"end": "2026-07-14T01:51:25.1761239+00:00"
}
],
"id": "f13765d8-9d70-41be-ab4b-26d0fb741703",
"externalId": "sample string 6"
}
application/xml, text/xml
<DoctorAvailabilitySlotModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models.DoctorAvailabilitySlots">
<ExternalId xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models">sample string 6</ExternalId>
<Id xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models">f13765d8-9d70-41be-ab4b-26d0fb741703</Id>
<AppointmentRequestReasonId>f6d34152-1d73-4693-9a9c-5ca3c263dd6f</AppointmentRequestReasonId>
<Available>true</Available>
<DoctorAvailabilityDates>
<DoctorAvailabilitySlotModel.DoctorAvailabilityDate>
<End>2026-07-14T01:51:25.1761239+00:00</End>
<Start>2026-07-14T01:51:25.1761239+00:00</Start>
</DoctorAvailabilitySlotModel.DoctorAvailabilityDate>
<DoctorAvailabilitySlotModel.DoctorAvailabilityDate>
<End>2026-07-14T01:51:25.1761239+00:00</End>
<Start>2026-07-14T01:51:25.1761239+00:00</Start>
</DoctorAvailabilitySlotModel.DoctorAvailabilityDate>
</DoctorAvailabilityDates>
<DoctorExternalId>sample string 3</DoctorExternalId>
<LocationExternalId>sample string 2</LocationExternalId>
<Notes>sample string 1</Notes>
</DoctorAvailabilitySlotModel>