POST api/authentication/change-password

Request Information

URI Parameters

None.

Body Parameters

ChangePassword
NameDescriptionTypeAdditional information
CurrentPassword

string

None.

NewPassword

string

None.

NewEmail

string

None.

IsAStaff

boolean

None.

Password

string

Required

Data type: Password

Email

string

Required

Data type: EmailAddress

Application

string

Required

Request Formats

application/json, text/json

Sample:
{
  "CurrentPassword": "sample string 1",
  "NewPassword": "sample string 2",
  "NewEmail": "sample string 3",
  "IsAStaff": true,
  "Password": "sample string 5",
  "Email": "sample string 6",
  "Application": "sample string 7"
}

application/xml, text/xml

Sample:
<ChangePassword xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BaseLibrary.DTOs">
  <Application>sample string 7</Application>
  <Email>sample string 6</Email>
  <Password>sample string 5</Password>
  <CurrentPassword>sample string 1</CurrentPassword>
  <IsAStaff>true</IsAStaff>
  <NewEmail>sample string 3</NewEmail>
  <NewPassword>sample string 2</NewPassword>
</ChangePassword>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.