POST api/v1/ChangePassword

Request Information

URI Parameters

None.

Body Parameters

ChangePasswordRequest
NameDescriptionTypeAdditional information
username

string

None.

password

string

None.

newpassword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "username": "sample string 1",
  "password": "sample string 2",
  "newpassword": "sample string 3"
}

text/plain, application/octet-stream

Sample:
{"username":"sample string 1","password":"sample string 2","newpassword":"sample string 3"}

application/xml, text/xml

Sample:
<ChangePasswordController.ChangePasswordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoldMesaj.ApiV1.Controllers">
  <newpassword>sample string 3</newpassword>
  <password>sample string 2</password>
  <username>sample string 1</username>
</ChangePasswordController.ChangePasswordRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ChangePasswordResponse
NameDescriptionTypeAdditional information
status

string

None.

error

string

None.

result

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "error": "sample string 2",
  "result": "sample string 3"
}

text/plain, application/octet-stream

Sample:
{"status":"sample string 1","error":"sample string 2","result":"sample string 3"}

application/xml, text/xml

Sample:
<ChangePasswordController.ChangePasswordResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoldMesaj.ApiV1.Controllers">
  <error>sample string 2</error>
  <result>sample string 3</result>
  <status>sample string 1</status>
</ChangePasswordController.ChangePasswordResponse>