POST api/ChangePassword

Request Information

URI Parameters

None.

Body Parameters

ChangePassword
NameDescriptionTypeAdditional information
AccountId

integer

None.

CurrentPassword

string

None.

NewPassword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountId": 1,
  "CurrentPassword": "sample string 2",
  "NewPassword": "sample string 3"
}

application/xml, text/xml

Sample:
<ChangePassword xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cabie.API.Models">
  <AccountId>1</AccountId>
  <CurrentPassword>sample string 2</CurrentPassword>
  <NewPassword>sample string 3</NewPassword>
</ChangePassword>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ChangePasswordResponse
NameDescriptionTypeAdditional information
Response

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": "sample string 1"
}

application/xml, text/xml

Sample:
<ChangePasswordResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cabie.API.Models">
  <Response>sample string 1</Response>
</ChangePasswordResponse>