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": "6fce4f1b-b5c6-470c-b899-258f1508983a",
"AppointmentId": "fca7bb79-79e8-4ab9-b6f8-a352d4926219",
"PatientId": "58ccd5ee-a3df-44e3-bbfc-2f67e217c1c4",
"LocationId": "1564e61d-0c8b-4cc2-9ec5-9dd86e9cbd20",
"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": "85246197-1046-43f0-95fa-8de6de537100",
"Comments": "sample string 12",
"RequestedDate": "2026-07-30T23:47:43.6852931+00:00",
"PatientEmailAddress": "sample string 14",
"PhoneNumberIsMobile": true,
"PhoneNumber": "sample string 16",
"CountryId": "3b977fcf-e2da-48ca-962e-1717f9aaf95c",
"AppointmentRequestReasonId": "ae0bf27d-6c95-4617-92b2-9277da63bd2a",
"AnotherPerson": true,
"FirstName": "sample string 19",
"MiddleName": "sample string 20",
"LastName": "sample string 21",
"DateOfBirth": "2026-07-30T23:47:43.6852931+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>fca7bb79-79e8-4ab9-b6f8-a352d4926219</AppointmentId> <AppointmentRequestId>6fce4f1b-b5c6-470c-b899-258f1508983a</AppointmentRequestId> <AppointmentRequestReasonId>ae0bf27d-6c95-4617-92b2-9277da63bd2a</AppointmentRequestReasonId> <Comments>sample string 12</Comments> <CountryId>3b977fcf-e2da-48ca-962e-1717f9aaf95c</CountryId> <DateOfBirth>2026-07-30T23:47:43.6852931+00:00</DateOfBirth> <DoctorId>85246197-1046-43f0-95fa-8de6de537100</DoctorId> <FirstName>sample string 19</FirstName> <HasEyeExamAtThisLocation>true</HasEyeExamAtThisLocation> <LastName>sample string 21</LastName> <LocationId>1564e61d-0c8b-4cc2-9ec5-9dd86e9cbd20</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>58ccd5ee-a3df-44e3-bbfc-2f67e217c1c4</PatientId> <PatientSexId>1</PatientSexId> <PhoneNumber>sample string 16</PhoneNumber> <PhoneNumberIsMobile>true</PhoneNumberIsMobile> <RequestedDate>2026-07-30T23:47:43.6852931+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": "07155a95-cc1f-4866-978a-17480ab0e51d",
"AppointmentId": "c4dda156-9ddd-462a-a911-66930e156d10",
"PatientId": "e36fb0f4-e1b1-4f0f-b133-0ee4e02790bd",
"LocationId": "f4472835-8a4a-441e-af58-0a8e80c108b1",
"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": "738407eb-b710-442c-a8f7-e0147ba50b86",
"Comments": "sample string 12",
"RequestedDate": "2026-07-30T23:47:43.6961801+00:00",
"PatientEmailAddress": "sample string 14",
"PhoneNumberIsMobile": true,
"PhoneNumber": "sample string 16",
"CountryId": "7d89d06d-461e-4e95-9dcc-1ea2731c22e2",
"AppointmentRequestReasonId": "e96f3dcb-95f3-4a2d-9814-b4d0ba9204e2",
"AnotherPerson": true,
"FirstName": "sample string 19",
"MiddleName": "sample string 20",
"LastName": "sample string 21",
"DateOfBirth": "2026-07-30T23:47:43.6961801+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>c4dda156-9ddd-462a-a911-66930e156d10</AppointmentId> <AppointmentRequestId>07155a95-cc1f-4866-978a-17480ab0e51d</AppointmentRequestId> <AppointmentRequestReasonId>e96f3dcb-95f3-4a2d-9814-b4d0ba9204e2</AppointmentRequestReasonId> <Comments>sample string 12</Comments> <CountryId>7d89d06d-461e-4e95-9dcc-1ea2731c22e2</CountryId> <DateOfBirth>2026-07-30T23:47:43.6961801+00:00</DateOfBirth> <DoctorId>738407eb-b710-442c-a8f7-e0147ba50b86</DoctorId> <FirstName>sample string 19</FirstName> <HasEyeExamAtThisLocation>true</HasEyeExamAtThisLocation> <LastName>sample string 21</LastName> <LocationId>f4472835-8a4a-441e-af58-0a8e80c108b1</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>e36fb0f4-e1b1-4f0f-b133-0ee4e02790bd</PatientId> <PatientSexId>1</PatientSexId> <PhoneNumber>sample string 16</PhoneNumber> <PhoneNumberIsMobile>true</PhoneNumberIsMobile> <RequestedDate>2026-07-30T23:47:43.6961801+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>