POST v1/api/authentication/chanageTokenPassword

Request Information

URI Parameters

None.

Body Parameters

chanageTokenPasswordRequest
NameDescriptionTypeAdditional information
username

string

None.

password

string

None.

new_password_1

string

None.

new_password_2

string

None.

Request Formats

application/json, text/json

Sample:
{
  "username": "sample string 1",
  "password": "sample string 2",
  "new_password_1": "sample string 3",
  "new_password_2": "sample string 4"
}

application/xml, text/xml

Sample:
<chanageTokenPasswordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enrolleeService.Models.Authentication.chanageTokenPassword">
  <new_password_1>sample string 3</new_password_1>
  <new_password_2>sample string 4</new_password_2>
  <password>sample string 2</password>
  <username>sample string 1</username>
</chanageTokenPasswordRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{"username":"sample string 1","password":"sample string 2","new_password_1":"sample string 3","new_password_2":"sample string 4"}

Response Information

Resource Description

chanageTokenPasswordResult
NameDescriptionTypeAdditional information
success

boolean

None.

errorMsg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "errorMsg": "sample string 2"
}

application/xml, text/xml

Sample:
<chanageTokenPasswordResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enrolleeService.Models.Authentication.chanageTokenPassword">
  <errorMsg>sample string 2</errorMsg>
  <success>true</success>
</chanageTokenPasswordResult>

text/html

Sample:
{"success":true,"errorMsg":"sample string 2"}