POST api/Login/ChangePasswordWithOTP

Request Information

URI Parameters

None.

Body Parameters

ChangePasswordWithOTPRequest
NameDescriptionTypeAdditional information
OTP

string

None.

newPassword

string

None.

confirmed_newPassword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OTP": "sample string 1",
  "newPassword": "sample string 2",
  "confirmed_newPassword": "sample string 3"
}

application/xml, text/xml

Sample:
<LoginController.ChangePasswordWithOTPRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS_HRM_API.Controllers">
  <OTP>sample string 1</OTP>
  <confirmed_newPassword>sample string 3</confirmed_newPassword>
  <newPassword>sample string 2</newPassword>
</LoginController.ChangePasswordWithOTPRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.