POST api/PatientCredentials

Changes the username and password of a patient.

Request Information

URI Parameters

None.

Body Parameters

Model used to change the username and password.

PatientCredentialsModel
NameDescriptionTypeAdditional information
CurrentPassword

Current password of the patient (Required).

string

None.

NewUsername

New username of the patient.

string

None.

NewPassword

New password of the patient.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CurrentPassword": "sample string 1",
  "NewUsername": "sample string 2",
  "NewPassword": "sample string 3"
}

application/xml, text/xml

Sample:
<PatientCredentialsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Mobile.Api.Models.Accounts">
  <CurrentPassword>sample string 1</CurrentPassword>
  <NewPassword>sample string 3</NewPassword>
  <NewUsername>sample string 2</NewUsername>
</PatientCredentialsModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response 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>