POST user/ResetPassword

Request Information

URI Parameters

None.

Body Parameters

ResetPassword
NameDescriptionTypeAdditional information
OTP

string

Required

NewPassword

string

Required

ConfirmPassword

string

Required

Username

string

Required

Request Formats

application/json, text/json

Sample:
{
  "OTP": "sample string 1",
  "NewPassword": "sample string 2",
  "ConfirmPassword": "sample string 3",
  "Username": "sample string 4"
}

text/html

Sample:
{"OTP":"sample string 1","NewPassword":"sample string 2","ConfirmPassword":"sample string 3","Username":"sample string 4"}

application/xml, text/xml

Sample:
<ResetPassword xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Users">
  <ConfirmPassword>sample string 3</ConfirmPassword>
  <NewPassword>sample string 2</NewPassword>
  <OTP>sample string 1</OTP>
  <Username>sample string 4</Username>
</ResetPassword>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ResetPassword'.

Response Information

Resource Description

ResetPasswordResult
NameDescriptionTypeAdditional information
Message

string

None.

Successful

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Successful": true
}

text/html

Sample:
{"Message":"sample string 1","Successful":true}

application/xml, text/xml

Sample:
<ResetPasswordResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Users">
  <Message>sample string 1</Message>
  <Successful>true</Successful>
</ResetPasswordResult>