POST api/account/ChangePassword

Change password

Request Information

URI Parameters

None.

Body Parameters

UserChangePasswordModel
NameDescriptionTypeAdditional information
UserId

integer

None.

OldPassword

string

Data type: Password

Password

string

Required

Data type: Password

ConfirmPassword

string

Data type: Password

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "OldPassword": "sample string 2",
  "Password": "sample string 3",
  "ConfirmPassword": "sample string 4"
}

application/xml, text/xml

Sample:
<UserChangePasswordModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/App.Data.Model">
  <ConfirmPassword>sample string 4</ConfirmPassword>
  <OldPassword>sample string 2</OldPassword>
  <Password>sample string 3</Password>
  <UserId>1</UserId>
</UserChangePasswordModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.