POST api/AppointmentRequests
Creates a new appointment requests.
Request Information
URI Parameters
None.
Body Parameters
Model used to retrieve or set information about an appointment.
AppointmentRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountNumber |
URL name of the practice for which the appointment is requested (Required). |
string |
None. |
| AppointmentRequestId |
Unique ID of appointment request. |
globally unique identifier |
None. |
| AppointmentId |
Unique ID of appointment. |
globally unique identifier |
None. |
| PatientId |
Unique ID of patient. |
globally unique identifier |
None. |
| LocationId |
Unique ID of location (Required). |
globally unique identifier |
None. |
| NewPatient |
Indicates whether new patient or not. |
boolean |
None. |
| HasEyeExamAtThisLocation |
Indication if examination is at the given location. |
boolean |
None. |
| VisionInsuranceCarrier |
Vision insurance carrier |
string |
None. |
| VisionGroupNumber |
Vision group number. |
string |
None. |
| VisionPolicyNumber |
Vision policy number. |
string |
None. |
| MedicalInsuranceCarrier |
Medical insurance carrier. |
string |
None. |
| MedicalGroupNumber |
Medical group number. |
string |
None. |
| MedicalPolicyNumber |
Medical policy number. |
string |
None. |
| DoctorId |
Unique ID of doctor. |
globally unique identifier |
None. |
| Comments |
Comments for the appointment request. |
string |
None. |
| RequestedDate |
Requested Date of the appointment request. |
date |
None. |
| PatientEmailAddress |
Email address of patient. |
string |
None. |
| PhoneNumberIsMobile |
Indicates if the phone number can be used to receive text messages. |
boolean |
None. |
| PhoneNumber |
Phone number of the patient. |
string |
None. |
| CountryId |
Unique ID of country. |
globally unique identifier |
None. |
| AppointmentRequestReasonId |
Unique ID of appointment request reason (Required). |
globally unique identifier |
None. |
| AnotherPerson |
Indicates if the appointment request is being created for another person that is not a relative of the current patient. |
boolean |
None. |
| FirstName |
First name of the person (Required). |
string |
None. |
| MiddleName |
Middle name of the person. |
string |
None. |
| LastName |
Last name of the person (Required). |
string |
None. |
| DateOfBirth |
Date of birth of the person (Required). |
date |
None. |
| PatientSexId |
Patient's sex ID of the model in the portal. |
integer |
None. |
| Username |
If the person requesting the appointment wants to create an account in the portal, send the username in this property. |
string |
None. |
| Password |
If the person requesting the appointment wants to create an account in the portal, send the passwod in this property. |
string |
None. |
| TermsOfUseAccepted |
Indicates if user has accepted the terms of use. |
boolean |
None. |
Request Formats
application/json, text/json
{
"AccountNumber": "sample string 1",
"AppointmentRequestId": "19206ec6-b742-4951-b44b-a13e4a042d08",
"AppointmentId": "7db528e7-b10c-4097-9b62-4b3130d7eee3",
"PatientId": "32dc14bb-1d0d-44e7-b90f-c8de28957b8e",
"LocationId": "4a3c30e4-5735-45e7-9fc7-942f2486fefa",
"NewPatient": true,
"HasEyeExamAtThisLocation": true,
"VisionInsuranceCarrier": "sample string 6",
"VisionGroupNumber": "sample string 7",
"VisionPolicyNumber": "sample string 8",
"MedicalInsuranceCarrier": "sample string 9",
"MedicalGroupNumber": "sample string 10",
"MedicalPolicyNumber": "sample string 11",
"DoctorId": "f951ba88-9304-4f1a-8286-4b294278bdd6",
"Comments": "sample string 12",
"RequestedDate": "2026-10-29T10:37:21.3990657+00:00",
"PatientEmailAddress": "sample string 14",
"PhoneNumberIsMobile": true,
"PhoneNumber": "sample string 16",
"CountryId": "31accdb8-ca84-4f76-b036-440cece07b32",
"AppointmentRequestReasonId": "bdb2ba01-3e99-4cbd-816d-2ec6360328ef",
"AnotherPerson": true,
"FirstName": "sample string 19",
"MiddleName": "sample string 20",
"LastName": "sample string 21",
"DateOfBirth": "2026-10-29T10:37:21.3990657+00:00",
"PatientSexId": 1,
"Username": "sample string 23",
"Password": "sample string 24",
"TermsOfUseAccepted": true
}
application/xml, text/xml
<AppointmentRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Mobile.Api.Models.AppointmentRequests"> <AccountNumber>sample string 1</AccountNumber> <AnotherPerson>true</AnotherPerson> <AppointmentId>7db528e7-b10c-4097-9b62-4b3130d7eee3</AppointmentId> <AppointmentRequestId>19206ec6-b742-4951-b44b-a13e4a042d08</AppointmentRequestId> <AppointmentRequestReasonId>bdb2ba01-3e99-4cbd-816d-2ec6360328ef</AppointmentRequestReasonId> <Comments>sample string 12</Comments> <CountryId>31accdb8-ca84-4f76-b036-440cece07b32</CountryId> <DateOfBirth>2026-10-29T10:37:21.3990657+00:00</DateOfBirth> <DoctorId>f951ba88-9304-4f1a-8286-4b294278bdd6</DoctorId> <FirstName>sample string 19</FirstName> <HasEyeExamAtThisLocation>true</HasEyeExamAtThisLocation> <LastName>sample string 21</LastName> <LocationId>4a3c30e4-5735-45e7-9fc7-942f2486fefa</LocationId> <MedicalGroupNumber>sample string 10</MedicalGroupNumber> <MedicalInsuranceCarrier>sample string 9</MedicalInsuranceCarrier> <MedicalPolicyNumber>sample string 11</MedicalPolicyNumber> <MiddleName>sample string 20</MiddleName> <NewPatient>true</NewPatient> <Password>sample string 24</Password> <PatientEmailAddress>sample string 14</PatientEmailAddress> <PatientId>32dc14bb-1d0d-44e7-b90f-c8de28957b8e</PatientId> <PatientSexId>1</PatientSexId> <PhoneNumber>sample string 16</PhoneNumber> <PhoneNumberIsMobile>true</PhoneNumberIsMobile> <RequestedDate>2026-10-29T10:37:21.3990657+00:00</RequestedDate> <TermsOfUseAccepted>true</TermsOfUseAccepted> <Username>sample string 23</Username> <VisionGroupNumber>sample string 7</VisionGroupNumber> <VisionInsuranceCarrier>sample string 6</VisionInsuranceCarrier> <VisionPolicyNumber>sample string 8</VisionPolicyNumber> </AppointmentRequestModel>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
AppointmentRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountNumber |
URL name of the practice for which the appointment is requested (Required). |
string |
None. |
| AppointmentRequestId |
Unique ID of appointment request. |
globally unique identifier |
None. |
| AppointmentId |
Unique ID of appointment. |
globally unique identifier |
None. |
| PatientId |
Unique ID of patient. |
globally unique identifier |
None. |
| LocationId |
Unique ID of location (Required). |
globally unique identifier |
None. |
| NewPatient |
Indicates whether new patient or not. |
boolean |
None. |
| HasEyeExamAtThisLocation |
Indication if examination is at the given location. |
boolean |
None. |
| VisionInsuranceCarrier |
Vision insurance carrier |
string |
None. |
| VisionGroupNumber |
Vision group number. |
string |
None. |
| VisionPolicyNumber |
Vision policy number. |
string |
None. |
| MedicalInsuranceCarrier |
Medical insurance carrier. |
string |
None. |
| MedicalGroupNumber |
Medical group number. |
string |
None. |
| MedicalPolicyNumber |
Medical policy number. |
string |
None. |
| DoctorId |
Unique ID of doctor. |
globally unique identifier |
None. |
| Comments |
Comments for the appointment request. |
string |
None. |
| RequestedDate |
Requested Date of the appointment request. |
date |
None. |
| PatientEmailAddress |
Email address of patient. |
string |
None. |
| PhoneNumberIsMobile |
Indicates if the phone number can be used to receive text messages. |
boolean |
None. |
| PhoneNumber |
Phone number of the patient. |
string |
None. |
| CountryId |
Unique ID of country. |
globally unique identifier |
None. |
| AppointmentRequestReasonId |
Unique ID of appointment request reason (Required). |
globally unique identifier |
None. |
| AnotherPerson |
Indicates if the appointment request is being created for another person that is not a relative of the current patient. |
boolean |
None. |
| FirstName |
First name of the person (Required). |
string |
None. |
| MiddleName |
Middle name of the person. |
string |
None. |
| LastName |
Last name of the person (Required). |
string |
None. |
| DateOfBirth |
Date of birth of the person (Required). |
date |
None. |
| PatientSexId |
Patient's sex ID of the model in the portal. |
integer |
None. |
| Username |
If the person requesting the appointment wants to create an account in the portal, send the username in this property. |
string |
None. |
| Password |
If the person requesting the appointment wants to create an account in the portal, send the passwod in this property. |
string |
None. |
| TermsOfUseAccepted |
Indicates if user has accepted the terms of use. |
boolean |
None. |
Response Formats
application/json, text/json
{
"AccountNumber": "sample string 1",
"AppointmentRequestId": "d69316d8-64d7-40bb-98b0-2b4ffea3c66c",
"AppointmentId": "048d7a1b-ced0-4632-a84e-426327520f71",
"PatientId": "49ed21df-0019-484a-90ae-8888a06dcfd6",
"LocationId": "fe4e9879-8e05-45df-b232-6fe0c6355416",
"NewPatient": true,
"HasEyeExamAtThisLocation": true,
"VisionInsuranceCarrier": "sample string 6",
"VisionGroupNumber": "sample string 7",
"VisionPolicyNumber": "sample string 8",
"MedicalInsuranceCarrier": "sample string 9",
"MedicalGroupNumber": "sample string 10",
"MedicalPolicyNumber": "sample string 11",
"DoctorId": "9839840f-2313-44d6-b0d1-eb9467bbfe8f",
"Comments": "sample string 12",
"RequestedDate": "2026-10-29T10:37:21.4109192+00:00",
"PatientEmailAddress": "sample string 14",
"PhoneNumberIsMobile": true,
"PhoneNumber": "sample string 16",
"CountryId": "52a3bd85-f2f6-484a-8081-c1df93506679",
"AppointmentRequestReasonId": "df14c40b-d2b9-4b2d-86c3-798185f6808f",
"AnotherPerson": true,
"FirstName": "sample string 19",
"MiddleName": "sample string 20",
"LastName": "sample string 21",
"DateOfBirth": "2026-10-29T10:37:21.4109192+00:00",
"PatientSexId": 1,
"Username": "sample string 23",
"Password": "sample string 24",
"TermsOfUseAccepted": true
}
application/xml, text/xml
<AppointmentRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Mobile.Api.Models.AppointmentRequests"> <AccountNumber>sample string 1</AccountNumber> <AnotherPerson>true</AnotherPerson> <AppointmentId>048d7a1b-ced0-4632-a84e-426327520f71</AppointmentId> <AppointmentRequestId>d69316d8-64d7-40bb-98b0-2b4ffea3c66c</AppointmentRequestId> <AppointmentRequestReasonId>df14c40b-d2b9-4b2d-86c3-798185f6808f</AppointmentRequestReasonId> <Comments>sample string 12</Comments> <CountryId>52a3bd85-f2f6-484a-8081-c1df93506679</CountryId> <DateOfBirth>2026-10-29T10:37:21.4109192+00:00</DateOfBirth> <DoctorId>9839840f-2313-44d6-b0d1-eb9467bbfe8f</DoctorId> <FirstName>sample string 19</FirstName> <HasEyeExamAtThisLocation>true</HasEyeExamAtThisLocation> <LastName>sample string 21</LastName> <LocationId>fe4e9879-8e05-45df-b232-6fe0c6355416</LocationId> <MedicalGroupNumber>sample string 10</MedicalGroupNumber> <MedicalInsuranceCarrier>sample string 9</MedicalInsuranceCarrier> <MedicalPolicyNumber>sample string 11</MedicalPolicyNumber> <MiddleName>sample string 20</MiddleName> <NewPatient>true</NewPatient> <Password>sample string 24</Password> <PatientEmailAddress>sample string 14</PatientEmailAddress> <PatientId>49ed21df-0019-484a-90ae-8888a06dcfd6</PatientId> <PatientSexId>1</PatientSexId> <PhoneNumber>sample string 16</PhoneNumber> <PhoneNumberIsMobile>true</PhoneNumberIsMobile> <RequestedDate>2026-10-29T10:37:21.4109192+00:00</RequestedDate> <TermsOfUseAccepted>true</TermsOfUseAccepted> <Username>sample string 23</Username> <VisionGroupNumber>sample string 7</VisionGroupNumber> <VisionInsuranceCarrier>sample string 6</VisionInsuranceCarrier> <VisionPolicyNumber>sample string 8</VisionPolicyNumber> </AppointmentRequestModel>