POST api/ChangePassword

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
changepassworddata
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "UserTypeID": 2,
  "CurrentPassword": "sample string 3",
  "NewPassword": "sample string 4"
}

text/html

Sample:
{"UserID":1,"UserTypeID":2,"CurrentPassword":"sample string 3","NewPassword":"sample string 4"}

application/xml, text/xml

Sample:
<ChangePasswordViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ViewModels.Settings">
  <CurrentPassword>sample string 3</CurrentPassword>
  <NewPassword>sample string 4</NewPassword>
  <UserID>1</UserID>
  <UserTypeID>2</UserTypeID>
</ChangePasswordViewModel>

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