POST v1/authication/changePassword
Request Information
URI Parameters
None.
Body Parameters
changePasswordRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| emailAddress | string |
None. |
|
| new_pass1 | string |
None. |
|
| new_pass2 | string |
None. |
|
| old_pass | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"emailAddress": "sample string 1",
"new_pass1": "sample string 2",
"new_pass2": "sample string 3",
"old_pass": "sample string 4"
}
application/xml, text/xml
Sample:
<changePasswordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ntblcpEWORS.Models.changePassword"> <emailAddress>sample string 1</emailAddress> <new_pass1>sample string 2</new_pass1> <new_pass2>sample string 3</new_pass2> <old_pass>sample string 4</old_pass> </changePasswordRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
changePasswordResult| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| message | string |
None. |
|
| errorMsg | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"message": "sample string 2",
"errorMsg": "sample string 3"
}
application/xml, text/xml
Sample:
<changePasswordResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ntblcpEWORS.Models.changePassword"> <errorMsg>sample string 3</errorMsg> <message>sample string 2</message> <success>true</success> </changePasswordResult>