POST api/Consumer/ChangePassword

Request Information

URI Parameters

None.

Body Parameters

ConsumerChangePasswordParameterDTO
NameDescriptionTypeAdditional 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": "252a5284-1929-43dd-bbe1-e9a6a75e0382",
  "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>252a5284-1929-43dd-bbe1-e9a6a75e0382</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

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.