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.
AppointmentRequestModelName | 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": "e5598b0c-c091-4922-904e-435a0d175675", "AppointmentId": "8b8f5f25-ac33-4294-a75f-8ae82f6a17a1", "PatientId": "2e482b65-ee15-4a11-b97a-d13c87327dc3", "LocationId": "0a2d4524-6516-4f8a-a5ff-a53e5340ec0a", "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": "6a2e6c0c-e567-4626-bb61-4d9cb467257d", "Comments": "sample string 12", "RequestedDate": "2025-09-13T04:36:25.4181457-04:00", "PatientEmailAddress": "sample string 14", "PhoneNumberIsMobile": true, "PhoneNumber": "sample string 16", "CountryId": "d1cb187b-cfd4-42cf-97df-5c02eb5470eb", "AppointmentRequestReasonId": "72b2e2bc-1e14-4134-950a-48d4677960c3", "AnotherPerson": true, "FirstName": "sample string 19", "MiddleName": "sample string 20", "LastName": "sample string 21", "DateOfBirth": "2025-09-13T04:36:25.4181457-04: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>8b8f5f25-ac33-4294-a75f-8ae82f6a17a1</AppointmentId> <AppointmentRequestId>e5598b0c-c091-4922-904e-435a0d175675</AppointmentRequestId> <AppointmentRequestReasonId>72b2e2bc-1e14-4134-950a-48d4677960c3</AppointmentRequestReasonId> <Comments>sample string 12</Comments> <CountryId>d1cb187b-cfd4-42cf-97df-5c02eb5470eb</CountryId> <DateOfBirth>2025-09-13T04:36:25.4181457-04:00</DateOfBirth> <DoctorId>6a2e6c0c-e567-4626-bb61-4d9cb467257d</DoctorId> <FirstName>sample string 19</FirstName> <HasEyeExamAtThisLocation>true</HasEyeExamAtThisLocation> <LastName>sample string 21</LastName> <LocationId>0a2d4524-6516-4f8a-a5ff-a53e5340ec0a</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>2e482b65-ee15-4a11-b97a-d13c87327dc3</PatientId> <PatientSexId>1</PatientSexId> <PhoneNumber>sample string 16</PhoneNumber> <PhoneNumberIsMobile>true</PhoneNumberIsMobile> <RequestedDate>2025-09-13T04:36:25.4181457-04: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
AppointmentRequestModelName | 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": "35da9f4c-8c0b-45a1-98a0-0127d8c35f4d", "AppointmentId": "d089b1d9-5c8a-4b82-a282-3253283c87c6", "PatientId": "99ad04b6-84e9-426f-a09a-0669e7eadf58", "LocationId": "94f23d57-770f-4fbc-b28b-58a791a283ed", "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": "a52d6fff-3357-4f1a-9ea7-0bfcbba1ae99", "Comments": "sample string 12", "RequestedDate": "2025-09-13T04:36:25.4337684-04:00", "PatientEmailAddress": "sample string 14", "PhoneNumberIsMobile": true, "PhoneNumber": "sample string 16", "CountryId": "5d4f44d1-de63-4f0d-837d-5220e39b6c06", "AppointmentRequestReasonId": "0e65dec2-6e78-46ca-9c3f-66d734bceeb2", "AnotherPerson": true, "FirstName": "sample string 19", "MiddleName": "sample string 20", "LastName": "sample string 21", "DateOfBirth": "2025-09-13T04:36:25.4337684-04: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>d089b1d9-5c8a-4b82-a282-3253283c87c6</AppointmentId> <AppointmentRequestId>35da9f4c-8c0b-45a1-98a0-0127d8c35f4d</AppointmentRequestId> <AppointmentRequestReasonId>0e65dec2-6e78-46ca-9c3f-66d734bceeb2</AppointmentRequestReasonId> <Comments>sample string 12</Comments> <CountryId>5d4f44d1-de63-4f0d-837d-5220e39b6c06</CountryId> <DateOfBirth>2025-09-13T04:36:25.4337684-04:00</DateOfBirth> <DoctorId>a52d6fff-3357-4f1a-9ea7-0bfcbba1ae99</DoctorId> <FirstName>sample string 19</FirstName> <HasEyeExamAtThisLocation>true</HasEyeExamAtThisLocation> <LastName>sample string 21</LastName> <LocationId>94f23d57-770f-4fbc-b28b-58a791a283ed</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>99ad04b6-84e9-426f-a09a-0669e7eadf58</PatientId> <PatientSexId>1</PatientSexId> <PhoneNumber>sample string 16</PhoneNumber> <PhoneNumberIsMobile>true</PhoneNumberIsMobile> <RequestedDate>2025-09-13T04:36:25.4337684-04: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>