[OBSOLETE] SetPasswordUsingDemographics
Sets the new password using the demographics match verification. This method is supported for legacy reasons and will be removed in the future.
JavaScript library method
patientportal.auth.setPasswordUsingDemographics({
key: <key>,
name: <name>,
surname: <surname>,
dateOfBirth: <dateOfBirth>,
postcode: <postcode>,
newPassword: <newPassword>
});
HTTP Method
| Verb | URL |
| POST | /patientportalapi/auth/set-password-using-demographics |
URL Parameters
| Parameter | Type | Description |
| Is-oh | bool | True for the referral portal. False for the patient portal. |
POST Parameters
| Parameter | Type | Description |
| key | string | Reset key that is included in the URL. |
| name | string | Patient’s name. |
| surname | string | Patient’s surname. |
| dateOfBirth | DateTime | Patient’s date of birth. |
| postcode | string | Patient’s address postcode. |
| newPassword | string | New password for patient’s account. |