POST api/PatientRegistration
Registers a new patient in Eye Reach Patients.
Request Information
URI Parameters
None.
Body Parameters
Model used to register the patient.
PatientRegistrationModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountNumber |
Account number of the practice for which patient will be registered (Required). |
string |
None. |
| PatientId |
(Read only) It will return the ID of the patient after the registration process. |
globally unique identifier |
None. |
| Username |
User name of the patient for login into the portal (Required). |
string |
None. |
| Password |
Password (Required). |
string |
None. |
| DateOfBirth |
Date of birth of the patient (Required). |
date |
None. |
| Gender |
Gender of the patient (Required). Possible values are Unspecified, Female, Male. |
string |
None. |
| SexId |
Sex ID of the model in the portal. |
integer |
None. |
| Contact |
Contact details of the patient (Required). |
ContactModel |
None. |
| TermsOfUseAccepted |
Indicates if user has accepted the terms of use. |
boolean |
None. |
Request Formats
application/json, text/json
{
"AccountNumber": "sample string 1",
"PatientId": "1b6debba-a1c2-45d7-86b1-abd1b0e6fa45",
"Username": "sample string 3",
"Password": "sample string 4",
"DateOfBirth": "2026-06-14T10:58:26.636324+00:00",
"Gender": "sample string 6",
"SexId": 1,
"Contact": {
"FirstName": "sample string 1",
"MiddleName": "sample string 2",
"LastName": "sample string 3",
"SuffixId": 4,
"PrefixId": 5,
"CompanyName": "sample string 6",
"JobTitle": "sample string 7",
"EmailAddresses": [
{
"Id": "f72c3bdc-2586-4b93-a8b2-d8fa51b45170",
"Alias": "sample string 2",
"Address": "sample string 3",
"Default": true,
"SortOrder": 5
},
{
"Id": "f72c3bdc-2586-4b93-a8b2-d8fa51b45170",
"Alias": "sample string 2",
"Address": "sample string 3",
"Default": true,
"SortOrder": 5
}
],
"PhoneNumbers": [
{
"Id": "5d33a587-1e8d-4008-aae1-bb745610c195",
"Alias": "sample string 2",
"Number": "sample string 3",
"UseForVoice": true,
"UseForSms": true,
"SortOrder": 6
},
{
"Id": "5d33a587-1e8d-4008-aae1-bb745610c195",
"Alias": "sample string 2",
"Number": "sample string 3",
"UseForVoice": true,
"UseForSms": true,
"SortOrder": 6
}
],
"PostalAddresses": [
{
"Id": "d43a0f82-78b1-4a75-907e-3419bb583a9d",
"Alias": "sample string 2",
"Address1": "sample string 3",
"Address2": "sample string 4",
"City": "sample string 5",
"State": "sample string 6",
"CountryId": "f3aceb0c-d461-489d-9691-a2d951518a1b",
"CountryCode": "sample string 7",
"CountryName": "sample string 8",
"Zip": "sample string 9",
"Default": true,
"Latitude": 1.0,
"Longitude": 1.0
},
{
"Id": "d43a0f82-78b1-4a75-907e-3419bb583a9d",
"Alias": "sample string 2",
"Address1": "sample string 3",
"Address2": "sample string 4",
"City": "sample string 5",
"State": "sample string 6",
"CountryId": "f3aceb0c-d461-489d-9691-a2d951518a1b",
"CountryCode": "sample string 7",
"CountryName": "sample string 8",
"Zip": "sample string 9",
"Default": true,
"Latitude": 1.0,
"Longitude": 1.0
}
],
"Notes": "sample string 8"
},
"TermsOfUseAccepted": true
}
application/xml, text/xml
<PatientRegistrationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Mobile.Api.Models.PatientRegistration">
<AccountNumber>sample string 1</AccountNumber>
<Contact xmlns:d2p1="http://schemas.datacontract.org/2004/07/GlobalPortal.Mobile.Api.Models.Contacts">
<d2p1:CompanyName>sample string 6</d2p1:CompanyName>
<d2p1:EmailAddresses>
<d2p1:EmailAddressModel>
<d2p1:Address>sample string 3</d2p1:Address>
<d2p1:Alias>sample string 2</d2p1:Alias>
<d2p1:Default>true</d2p1:Default>
<d2p1:Id>f72c3bdc-2586-4b93-a8b2-d8fa51b45170</d2p1:Id>
<d2p1:SortOrder>5</d2p1:SortOrder>
</d2p1:EmailAddressModel>
<d2p1:EmailAddressModel>
<d2p1:Address>sample string 3</d2p1:Address>
<d2p1:Alias>sample string 2</d2p1:Alias>
<d2p1:Default>true</d2p1:Default>
<d2p1:Id>f72c3bdc-2586-4b93-a8b2-d8fa51b45170</d2p1:Id>
<d2p1:SortOrder>5</d2p1:SortOrder>
</d2p1:EmailAddressModel>
</d2p1:EmailAddresses>
<d2p1:FirstName>sample string 1</d2p1:FirstName>
<d2p1:JobTitle>sample string 7</d2p1:JobTitle>
<d2p1:LastName>sample string 3</d2p1:LastName>
<d2p1:MiddleName>sample string 2</d2p1:MiddleName>
<d2p1:Notes>sample string 8</d2p1:Notes>
<d2p1:PhoneNumbers>
<d2p1:PhoneNumberModel>
<d2p1:Alias>sample string 2</d2p1:Alias>
<d2p1:Id>5d33a587-1e8d-4008-aae1-bb745610c195</d2p1:Id>
<d2p1:Number>sample string 3</d2p1:Number>
<d2p1:SortOrder>6</d2p1:SortOrder>
<d2p1:UseForSms>true</d2p1:UseForSms>
<d2p1:UseForVoice>true</d2p1:UseForVoice>
</d2p1:PhoneNumberModel>
<d2p1:PhoneNumberModel>
<d2p1:Alias>sample string 2</d2p1:Alias>
<d2p1:Id>5d33a587-1e8d-4008-aae1-bb745610c195</d2p1:Id>
<d2p1:Number>sample string 3</d2p1:Number>
<d2p1:SortOrder>6</d2p1:SortOrder>
<d2p1:UseForSms>true</d2p1:UseForSms>
<d2p1:UseForVoice>true</d2p1:UseForVoice>
</d2p1:PhoneNumberModel>
</d2p1:PhoneNumbers>
<d2p1:PostalAddresses>
<d2p1:PostalAddressModel>
<d2p1:Address1>sample string 3</d2p1:Address1>
<d2p1:Address2>sample string 4</d2p1:Address2>
<d2p1:Alias>sample string 2</d2p1:Alias>
<d2p1:City>sample string 5</d2p1:City>
<d2p1:CountryCode>sample string 7</d2p1:CountryCode>
<d2p1:CountryId>f3aceb0c-d461-489d-9691-a2d951518a1b</d2p1:CountryId>
<d2p1:CountryName>sample string 8</d2p1:CountryName>
<d2p1:Default>true</d2p1:Default>
<d2p1:Id>d43a0f82-78b1-4a75-907e-3419bb583a9d</d2p1:Id>
<d2p1:Latitude>1</d2p1:Latitude>
<d2p1:Longitude>1</d2p1:Longitude>
<d2p1:State>sample string 6</d2p1:State>
<d2p1:Zip>sample string 9</d2p1:Zip>
</d2p1:PostalAddressModel>
<d2p1:PostalAddressModel>
<d2p1:Address1>sample string 3</d2p1:Address1>
<d2p1:Address2>sample string 4</d2p1:Address2>
<d2p1:Alias>sample string 2</d2p1:Alias>
<d2p1:City>sample string 5</d2p1:City>
<d2p1:CountryCode>sample string 7</d2p1:CountryCode>
<d2p1:CountryId>f3aceb0c-d461-489d-9691-a2d951518a1b</d2p1:CountryId>
<d2p1:CountryName>sample string 8</d2p1:CountryName>
<d2p1:Default>true</d2p1:Default>
<d2p1:Id>d43a0f82-78b1-4a75-907e-3419bb583a9d</d2p1:Id>
<d2p1:Latitude>1</d2p1:Latitude>
<d2p1:Longitude>1</d2p1:Longitude>
<d2p1:State>sample string 6</d2p1:State>
<d2p1:Zip>sample string 9</d2p1:Zip>
</d2p1:PostalAddressModel>
</d2p1:PostalAddresses>
<d2p1:PrefixId>5</d2p1:PrefixId>
<d2p1:SuffixId>4</d2p1:SuffixId>
</Contact>
<DateOfBirth>2026-06-14T10:58:26.636324+00:00</DateOfBirth>
<Gender>sample string 6</Gender>
<Password>sample string 4</Password>
<PatientId>1b6debba-a1c2-45d7-86b1-abd1b0e6fa45</PatientId>
<SexId>1</SexId>
<TermsOfUseAccepted>true</TermsOfUseAccepted>
<Username>sample string 3</Username>
</PatientRegistrationModel>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
PatientRegistrationModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountNumber |
Account number of the practice for which patient will be registered (Required). |
string |
None. |
| PatientId |
(Read only) It will return the ID of the patient after the registration process. |
globally unique identifier |
None. |
| Username |
User name of the patient for login into the portal (Required). |
string |
None. |
| Password |
Password (Required). |
string |
None. |
| DateOfBirth |
Date of birth of the patient (Required). |
date |
None. |
| Gender |
Gender of the patient (Required). Possible values are Unspecified, Female, Male. |
string |
None. |
| SexId |
Sex ID of the model in the portal. |
integer |
None. |
| Contact |
Contact details of the patient (Required). |
ContactModel |
None. |
| TermsOfUseAccepted |
Indicates if user has accepted the terms of use. |
boolean |
None. |
Response Formats
application/json, text/json
{
"AccountNumber": "sample string 1",
"PatientId": "9f25d05e-e306-4840-9051-26124a3aa059",
"Username": "sample string 3",
"Password": "sample string 4",
"DateOfBirth": "2026-06-14T10:58:26.9427858+00:00",
"Gender": "sample string 6",
"SexId": 1,
"Contact": {
"FirstName": "sample string 1",
"MiddleName": "sample string 2",
"LastName": "sample string 3",
"SuffixId": 4,
"PrefixId": 5,
"CompanyName": "sample string 6",
"JobTitle": "sample string 7",
"EmailAddresses": [
{
"Id": "732805c5-09f2-467d-9ba3-eebc118a2b44",
"Alias": "sample string 2",
"Address": "sample string 3",
"Default": true,
"SortOrder": 5
},
{
"Id": "732805c5-09f2-467d-9ba3-eebc118a2b44",
"Alias": "sample string 2",
"Address": "sample string 3",
"Default": true,
"SortOrder": 5
}
],
"PhoneNumbers": [
{
"Id": "987557c6-9893-41f6-ba3a-e79bbf9d8122",
"Alias": "sample string 2",
"Number": "sample string 3",
"UseForVoice": true,
"UseForSms": true,
"SortOrder": 6
},
{
"Id": "987557c6-9893-41f6-ba3a-e79bbf9d8122",
"Alias": "sample string 2",
"Number": "sample string 3",
"UseForVoice": true,
"UseForSms": true,
"SortOrder": 6
}
],
"PostalAddresses": [
{
"Id": "a3490001-2f87-4d7f-8d0d-b47e256efb5a",
"Alias": "sample string 2",
"Address1": "sample string 3",
"Address2": "sample string 4",
"City": "sample string 5",
"State": "sample string 6",
"CountryId": "3ea2b158-acc8-4a7b-813c-ae4b4beabf59",
"CountryCode": "sample string 7",
"CountryName": "sample string 8",
"Zip": "sample string 9",
"Default": true,
"Latitude": 1.0,
"Longitude": 1.0
},
{
"Id": "a3490001-2f87-4d7f-8d0d-b47e256efb5a",
"Alias": "sample string 2",
"Address1": "sample string 3",
"Address2": "sample string 4",
"City": "sample string 5",
"State": "sample string 6",
"CountryId": "3ea2b158-acc8-4a7b-813c-ae4b4beabf59",
"CountryCode": "sample string 7",
"CountryName": "sample string 8",
"Zip": "sample string 9",
"Default": true,
"Latitude": 1.0,
"Longitude": 1.0
}
],
"Notes": "sample string 8"
},
"TermsOfUseAccepted": true
}
application/xml, text/xml
<PatientRegistrationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Mobile.Api.Models.PatientRegistration">
<AccountNumber>sample string 1</AccountNumber>
<Contact xmlns:d2p1="http://schemas.datacontract.org/2004/07/GlobalPortal.Mobile.Api.Models.Contacts">
<d2p1:CompanyName>sample string 6</d2p1:CompanyName>
<d2p1:EmailAddresses>
<d2p1:EmailAddressModel>
<d2p1:Address>sample string 3</d2p1:Address>
<d2p1:Alias>sample string 2</d2p1:Alias>
<d2p1:Default>true</d2p1:Default>
<d2p1:Id>732805c5-09f2-467d-9ba3-eebc118a2b44</d2p1:Id>
<d2p1:SortOrder>5</d2p1:SortOrder>
</d2p1:EmailAddressModel>
<d2p1:EmailAddressModel>
<d2p1:Address>sample string 3</d2p1:Address>
<d2p1:Alias>sample string 2</d2p1:Alias>
<d2p1:Default>true</d2p1:Default>
<d2p1:Id>732805c5-09f2-467d-9ba3-eebc118a2b44</d2p1:Id>
<d2p1:SortOrder>5</d2p1:SortOrder>
</d2p1:EmailAddressModel>
</d2p1:EmailAddresses>
<d2p1:FirstName>sample string 1</d2p1:FirstName>
<d2p1:JobTitle>sample string 7</d2p1:JobTitle>
<d2p1:LastName>sample string 3</d2p1:LastName>
<d2p1:MiddleName>sample string 2</d2p1:MiddleName>
<d2p1:Notes>sample string 8</d2p1:Notes>
<d2p1:PhoneNumbers>
<d2p1:PhoneNumberModel>
<d2p1:Alias>sample string 2</d2p1:Alias>
<d2p1:Id>987557c6-9893-41f6-ba3a-e79bbf9d8122</d2p1:Id>
<d2p1:Number>sample string 3</d2p1:Number>
<d2p1:SortOrder>6</d2p1:SortOrder>
<d2p1:UseForSms>true</d2p1:UseForSms>
<d2p1:UseForVoice>true</d2p1:UseForVoice>
</d2p1:PhoneNumberModel>
<d2p1:PhoneNumberModel>
<d2p1:Alias>sample string 2</d2p1:Alias>
<d2p1:Id>987557c6-9893-41f6-ba3a-e79bbf9d8122</d2p1:Id>
<d2p1:Number>sample string 3</d2p1:Number>
<d2p1:SortOrder>6</d2p1:SortOrder>
<d2p1:UseForSms>true</d2p1:UseForSms>
<d2p1:UseForVoice>true</d2p1:UseForVoice>
</d2p1:PhoneNumberModel>
</d2p1:PhoneNumbers>
<d2p1:PostalAddresses>
<d2p1:PostalAddressModel>
<d2p1:Address1>sample string 3</d2p1:Address1>
<d2p1:Address2>sample string 4</d2p1:Address2>
<d2p1:Alias>sample string 2</d2p1:Alias>
<d2p1:City>sample string 5</d2p1:City>
<d2p1:CountryCode>sample string 7</d2p1:CountryCode>
<d2p1:CountryId>3ea2b158-acc8-4a7b-813c-ae4b4beabf59</d2p1:CountryId>
<d2p1:CountryName>sample string 8</d2p1:CountryName>
<d2p1:Default>true</d2p1:Default>
<d2p1:Id>a3490001-2f87-4d7f-8d0d-b47e256efb5a</d2p1:Id>
<d2p1:Latitude>1</d2p1:Latitude>
<d2p1:Longitude>1</d2p1:Longitude>
<d2p1:State>sample string 6</d2p1:State>
<d2p1:Zip>sample string 9</d2p1:Zip>
</d2p1:PostalAddressModel>
<d2p1:PostalAddressModel>
<d2p1:Address1>sample string 3</d2p1:Address1>
<d2p1:Address2>sample string 4</d2p1:Address2>
<d2p1:Alias>sample string 2</d2p1:Alias>
<d2p1:City>sample string 5</d2p1:City>
<d2p1:CountryCode>sample string 7</d2p1:CountryCode>
<d2p1:CountryId>3ea2b158-acc8-4a7b-813c-ae4b4beabf59</d2p1:CountryId>
<d2p1:CountryName>sample string 8</d2p1:CountryName>
<d2p1:Default>true</d2p1:Default>
<d2p1:Id>a3490001-2f87-4d7f-8d0d-b47e256efb5a</d2p1:Id>
<d2p1:Latitude>1</d2p1:Latitude>
<d2p1:Longitude>1</d2p1:Longitude>
<d2p1:State>sample string 6</d2p1:State>
<d2p1:Zip>sample string 9</d2p1:Zip>
</d2p1:PostalAddressModel>
</d2p1:PostalAddresses>
<d2p1:PrefixId>5</d2p1:PrefixId>
<d2p1:SuffixId>4</d2p1:SuffixId>
</Contact>
<DateOfBirth>2026-06-14T10:58:26.9427858+00:00</DateOfBirth>
<Gender>sample string 6</Gender>
<Password>sample string 4</Password>
<PatientId>9f25d05e-e306-4840-9051-26124a3aa059</PatientId>
<SexId>1</SexId>
<TermsOfUseAccepted>true</TermsOfUseAccepted>
<Username>sample string 3</Username>
</PatientRegistrationModel>