POST api/RepresentativeCredentials
Changes the username and password of the representative of a patient.
Request Information
URI Parameters
None.
Body Parameters
Model used to change the username and password of the representative of a patient.
RepresentativeCredentialsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CurrentPatientPassword |
Current password of the patient (Required either CurrentPatientPassword or CurrentRepresentativePassword). |
string |
None. |
| CurrentRepresentativePassword |
Current password of the representative of the patient (Required either CurrentPatientPassword or CurrentRepresentativePassword). |
string |
None. |
| NewRepresentativeUsername |
New username of the representative of the patient. |
string |
None. |
| NewRepresentativePassword |
New password of the representative of the patient. |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CurrentPatientPassword": "sample string 1",
"CurrentRepresentativePassword": "sample string 2",
"NewRepresentativeUsername": "sample string 3",
"NewRepresentativePassword": "sample string 4"
}
application/xml, text/xml
Sample:
<RepresentativeCredentialsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Mobile.Api.Models.Accounts"> <CurrentPatientPassword>sample string 1</CurrentPatientPassword> <CurrentRepresentativePassword>sample string 2</CurrentRepresentativePassword> <NewRepresentativePassword>sample string 4</NewRepresentativePassword> <NewRepresentativeUsername>sample string 3</NewRepresentativeUsername> </RepresentativeCredentialsModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>