POST api/User/ChangePassword

Request Information

URI Parameters

None.

Body Parameters

ChangePasswordObj
NameDescriptionTypeAdditional information
UserId

integer

None.

OldPassword

string

None.

NewPassword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userId": 1,
  "oldPassword": "sample string 2",
  "newPassword": "sample string 3"
}

application/xml, text/xml

Sample:
<UserController.ChangePasswordObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BankproProduct.Controllers">
  <NewPassword>sample string 3</NewPassword>
  <OldPassword>sample string 2</OldPassword>
  <UserId>1</UserId>
</UserController.ChangePasswordObj>

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.