POST api/v1/password/SetNewPassword

Request Information

URI Parameters

None.

Body Parameters

PasswordChangeRequest
NameDescriptionTypeAdditional information
UserId

integer

None.

OldPassword

string

None.

NewPassword

string

None.

PanelistId

string

None.

ConfirmPassword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userId": 1,
  "oldPassword": "sample string 2",
  "newPassword": "sample string 3",
  "panelistId": "sample string 4",
  "confirmPassword": "sample string 5"
}

text/xml

Sample:
<PasswordChangeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PMSBL.Entity">
  <ConfirmPassword>sample string 5</ConfirmPassword>
  <NewPassword>sample string 3</NewPassword>
  <OldPassword>sample string 2</OldPassword>
  <PanelistId>sample string 4</PanelistId>
  <UserId>1</UserId>
</PasswordChangeRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

text/xml

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