POST api/v1/user/resetPassword

Request Information

URI Parameters

None.

Body Parameters

ResetPasswordRequest
NameDescriptionTypeAdditional information
Token

string

Required

Username

string

Required

Password

string

Required

PasswordConfirm

string

Required

Version

integer

None.

ReturnUrl

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "Username": "sample string 2",
  "Password": "sample string 3",
  "PasswordConfirm": "sample string 4",
  "Version": 1,
  "ReturnUrl": "sample string 5"
}

application/xml, text/xml

Sample:
<ResetPasswordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PFL.PFLLink.BO.GenericAPI.Request">
  <Password>sample string 3</Password>
  <PasswordConfirm>sample string 4</PasswordConfirm>
  <ReturnUrl>sample string 5</ReturnUrl>
  <Token>sample string 1</Token>
  <Username>sample string 2</Username>
  <Version>1</Version>
</ResetPasswordRequest>

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 'ResetPasswordRequest'.

multipart/form-data

Sample:

An exception has occurred while using the formatter 'MultiPartMediaFormat' to generate sample for media type 'multipart/form-data'. Exception message: The media type formatter of type 'MultiPartMediaFormat' does not support writing because it does not implement the WriteToStreamAsync method.

image/png

Sample:

An exception has occurred while using the formatter 'ImageMediaFormat' to generate sample for media type 'image/png'. Exception message: The media type formatter of type 'ImageMediaFormat' does not support writing because it does not implement the WriteToStreamAsync method.

image/jpg

Sample:

An exception has occurred while using the formatter 'ImageMediaFormat' to generate sample for media type 'image/jpg'. Exception message: The media type formatter of type 'ImageMediaFormat' does not support writing because it does not implement the WriteToStreamAsync method.

image/jpeg

Sample:

An exception has occurred while using the formatter 'ImageMediaFormat' to generate sample for media type 'image/jpeg'. Exception message: The media type formatter of type 'ImageMediaFormat' does not support writing because it does not implement the WriteToStreamAsync method.

image/bmp

Sample:

An exception has occurred while using the formatter 'ImageMediaFormat' to generate sample for media type 'image/bmp'. Exception message: The media type formatter of type 'ImageMediaFormat' does not support writing because it does not implement the WriteToStreamAsync method.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data, image/png, image/jpg, image/jpeg, image/bmp

Sample:

Sample not available.