POST api/Consumer/ChangePassword
Request Information
URI Parameters
None.
Body Parameters
ConsumerChangePasswordParameterDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ConsumerGUID | globally unique identifier |
None. |
|
| CurrentPassword | string |
None. |
|
| NewPassword | string |
None. |
|
| ConfirmPassword | string |
None. |
|
| IsRecoveryMode | boolean |
None. |
|
| OTP | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ConsumerGUID": "6423bd37-30f2-4dd1-bc66-22710d15735b",
"CurrentPassword": "sample string 2",
"NewPassword": "sample string 3",
"ConfirmPassword": "sample string 4",
"IsRecoveryMode": true,
"OTP": "sample string 6"
}
text/xml
Sample:
<ConsumerChangePasswordParameterDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Timepeaker.WebApi.DTO"> <ConfirmPassword>sample string 4</ConfirmPassword> <ConsumerGUID>6423bd37-30f2-4dd1-bc66-22710d15735b</ConsumerGUID> <CurrentPassword>sample string 2</CurrentPassword> <IsRecoveryMode>true</IsRecoveryMode> <NewPassword>sample string 3</NewPassword> <OTP>sample string 6</OTP> </ConsumerChangePasswordParameterDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.