POST api/ChangePassword
Request Information
URI Parameters
None.
Body Parameters
PasswordRequestInput| Name | Description | Type | Additional information |
|---|---|---|---|
| CurrentPassword | string |
Required |
|
| NewPassword | string |
Required |
|
| EmailId | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"CurrentPassword": "sample string 1",
"NewPassword": "sample string 2",
"EmailId": "sample string 3"
}
application/xml, text/xml
Sample:
<PasswordRequestInput xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <CurrentPassword>sample string 1</CurrentPassword> <NewPassword>sample string 2</NewPassword> <EmailId>sample string 3</EmailId> </PasswordRequestInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReturnObjectOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| Messages | Collection of string |
None. |
|
| ErrorCode | integer |
None. |
|
| Response | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"Messages": [
"sample string 1",
"sample string 2"
],
"ErrorCode": 2,
"Response": true
}
application/xml, text/xml
Sample:
<ReturnObjectOfBoolean xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<IsSuccess>true</IsSuccess>
<Messages>
<string>sample string 1</string>
<string>sample string 2</string>
</Messages>
<ErrorCode>2</ErrorCode>
<Response>true</Response>
</ReturnObjectOfBoolean>