POST api/account/ChangePassword

Request Information

URI Parameters

None.

Body Parameters

DTOChangePassword
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

OldPassword

string

None.

NewPassword

string

None.

ErrorMessage

string

None.

Status

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "6fa9601f-5cb3-47f7-9f8b-075690badf0d",
  "OldPassword": "sample string 2",
  "NewPassword": "sample string 3",
  "ErrorMessage": "sample string 4",
  "Status": 5
}

application/xml, text/xml

Sample:
<DTOChangePassword xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HomeCarePortal.BAL.DTOModels">
  <ErrorMessage>sample string 4</ErrorMessage>
  <NewPassword>sample string 3</NewPassword>
  <OldPassword>sample string 2</OldPassword>
  <Status>5</Status>
  <UserId>6fa9601f-5cb3-47f7-9f8b-075690badf0d</UserId>
</DTOChangePassword>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.