POST api/usruser/validatepasswordchange

Request Information

URI Parameters

None.

Body Parameters

ChangePasswordRequest
NameDescriptionTypeAdditional information
Username

string

None.

PasswordOld

string

None.

PasswordNew

string

None.

PasswordNewRepeat

string

None.

OldHashed

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "PasswordOld": "sample string 2",
  "PasswordNew": "sample string 3",
  "PasswordNewRepeat": "sample string 4",
  "OldHashed": true
}

application/xml, text/xml

Sample:
<ChangePasswordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.Tools.Usr.Models">
  <OldHashed>true</OldHashed>
  <PasswordNew>sample string 3</PasswordNew>
  <PasswordNewRepeat>sample string 4</PasswordNewRepeat>
  <PasswordOld>sample string 2</PasswordOld>
  <Username>sample string 1</Username>
</ChangePasswordRequest>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>