POST api/public-accounts/changepassword

Request Information

URI Parameters

None.

Body Parameters

PublicAccountChangePasswordRequest
NameDescriptionTypeAdditional information
AccountID

integer

None.

Password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountID": 1,
  "Password": "sample string 2"
}

application/xml, text/xml

Sample:
<PublicAccountChangePasswordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF.DTO">
  <AccountID>1</AccountID>
  <Password>sample string 2</Password>
</PublicAccountChangePasswordRequest>

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

Response Information

Resource Description

ResultResponse
NameDescriptionTypeAdditional information
StatusText

string

None.

Error

boolean

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusText": "sample string 1",
  "Error": true,
  "Data": {}
}

application/xml, text/xml

Sample:
<ResultResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF.DTO">
  <Data />
  <Error>true</Error>
  <StatusText>sample string 1</StatusText>
</ResultResponse>