POST api/v{version}/users/resetpassword

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

ResetPasswordModel
NameDescriptionTypeAdditional information
UserTypeId

byte

Required

Range: inclusive between 1 and 2

Userkey

string

Required

NewPassword

string

Required

Matching regular expression pattern: ^[0-9a-zA-Z-_!.)@#(~]+$

ResetToken

string

Required

loginIfSuccess

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserTypeId": 64,
  "Userkey": "sample string 1",
  "NewPassword": "sample string 2",
  "ResetToken": "sample string 3",
  "loginIfSuccess": true
}

application/xml, text/xml

Sample:
<ResetPasswordModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FastFixCore.BindingModels">
  <NewPassword>sample string 2</NewPassword>
  <ResetToken>sample string 3</ResetToken>
  <UserTypeId>64</UserTypeId>
  <Userkey>sample string 1</Userkey>
  <loginIfSuccess>true</loginIfSuccess>
</ResetPasswordModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.