POST api/Patients/ChangePatientPasswordManually

Request Information

URI Parameters

None.

Body Parameters

PatientPassData
NameDescriptionTypeAdditional information
Id

string

None.

SecAnswer

string

None.

SecQuestion

string

None.

MobileOrEmail

string

None.

OldPassword

string

None.

SecCode

string

None.

TempCode

integer

None.

NewPassword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "SecAnswer": "sample string 2",
  "SecQuestion": "sample string 3",
  "MobileOrEmail": "sample string 4",
  "OldPassword": "sample string 5",
  "SecCode": "sample string 6",
  "TempCode": 7,
  "NewPassword": "sample string 8"
}

application/xml, text/xml

Sample:
<PatientPassData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMedical.Controllers">
  <Id>sample string 1</Id>
  <MobileOrEmail>sample string 4</MobileOrEmail>
  <NewPassword>sample string 8</NewPassword>
  <OldPassword>sample string 5</OldPassword>
  <SecAnswer>sample string 2</SecAnswer>
  <SecCode>sample string 6</SecCode>
  <SecQuestion>sample string 3</SecQuestion>
  <TempCode>7</TempCode>
</PatientPassData>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PatientPassData'.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.