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": "3ed80a4d-a098-403f-af3f-579c536e5486",
"AppointmentId": "01b72426-e7c1-48a5-ad87-873f3abdc4e8",
"PatientId": "91cce972-6703-4d16-8e9b-9f3f0feaaa1c",
"LocationId": "2275cbcb-4106-4622-82c1-aeb6b8f0bac3",
"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": "269695b9-55e4-4340-9950-7ea0d0851f93",
"Comments": "sample string 12",
"RequestedDate": "2026-05-31T18:56:25.1060449+00:00",
"PatientEmailAddress": "sample string 14",
"PhoneNumberIsMobile": true,
"PhoneNumber": "sample string 16",
"CountryId": "fbde4013-d9ba-49fd-92fc-5dada8c5fa6b",
"AppointmentRequestReasonId": "3c28fffc-b3c9-405f-ac99-86a4b48b1c25",
"AnotherPerson": true,
"FirstName": "sample string 19",
"MiddleName": "sample string 20",
"LastName": "sample string 21",
"DateOfBirth": "2026-05-31T18:56:25.1060449+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>01b72426-e7c1-48a5-ad87-873f3abdc4e8</AppointmentId> <AppointmentRequestId>3ed80a4d-a098-403f-af3f-579c536e5486</AppointmentRequestId> <AppointmentRequestReasonId>3c28fffc-b3c9-405f-ac99-86a4b48b1c25</AppointmentRequestReasonId> <Comments>sample string 12</Comments> <CountryId>fbde4013-d9ba-49fd-92fc-5dada8c5fa6b</CountryId> <DateOfBirth>2026-05-31T18:56:25.1060449+00:00</DateOfBirth> <DoctorId>269695b9-55e4-4340-9950-7ea0d0851f93</DoctorId> <FirstName>sample string 19</FirstName> <HasEyeExamAtThisLocation>true</HasEyeExamAtThisLocation> <LastName>sample string 21</LastName> <LocationId>2275cbcb-4106-4622-82c1-aeb6b8f0bac3</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>91cce972-6703-4d16-8e9b-9f3f0feaaa1c</PatientId> <PatientSexId>1</PatientSexId> <PhoneNumber>sample string 16</PhoneNumber> <PhoneNumberIsMobile>true</PhoneNumberIsMobile> <RequestedDate>2026-05-31T18:56:25.1060449+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": "138917ba-b2cb-4e36-a2ee-02f134103c92",
"AppointmentId": "5aa0bf03-5c79-4f74-804a-414a1a443e0f",
"PatientId": "571bd0ff-b3c4-4dbe-b035-ca8bdf74a8ca",
"LocationId": "52acc937-e71f-41f9-b560-59c5bf0a957e",
"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": "4a3e706a-ff33-40c4-b561-1336d62603dd",
"Comments": "sample string 12",
"RequestedDate": "2026-05-31T18:56:25.1230207+00:00",
"PatientEmailAddress": "sample string 14",
"PhoneNumberIsMobile": true,
"PhoneNumber": "sample string 16",
"CountryId": "3eb48feb-b692-45ac-869e-b427a4a134cc",
"AppointmentRequestReasonId": "5a66dbb7-c92d-46d7-83aa-b9996eef49e2",
"AnotherPerson": true,
"FirstName": "sample string 19",
"MiddleName": "sample string 20",
"LastName": "sample string 21",
"DateOfBirth": "2026-05-31T18:56:25.1230207+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>5aa0bf03-5c79-4f74-804a-414a1a443e0f</AppointmentId> <AppointmentRequestId>138917ba-b2cb-4e36-a2ee-02f134103c92</AppointmentRequestId> <AppointmentRequestReasonId>5a66dbb7-c92d-46d7-83aa-b9996eef49e2</AppointmentRequestReasonId> <Comments>sample string 12</Comments> <CountryId>3eb48feb-b692-45ac-869e-b427a4a134cc</CountryId> <DateOfBirth>2026-05-31T18:56:25.1230207+00:00</DateOfBirth> <DoctorId>4a3e706a-ff33-40c4-b561-1336d62603dd</DoctorId> <FirstName>sample string 19</FirstName> <HasEyeExamAtThisLocation>true</HasEyeExamAtThisLocation> <LastName>sample string 21</LastName> <LocationId>52acc937-e71f-41f9-b560-59c5bf0a957e</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>571bd0ff-b3c4-4dbe-b035-ca8bdf74a8ca</PatientId> <PatientSexId>1</PatientSexId> <PhoneNumber>sample string 16</PhoneNumber> <PhoneNumberIsMobile>true</PhoneNumberIsMobile> <RequestedDate>2026-05-31T18:56:25.1230207+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>