POST v1/api/enrollee/passwordReset

Request Information

URI Parameters

None.

Body Parameters

changePasswordRequest
NameDescriptionTypeAdditional information
enrolleeNo

string

None.

newPassword

string

None.

OTP

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<changePasswordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enrrolleeApp.Models.api_Main.changePassword">
  <OTP>sample string 3</OTP>
  <enrolleeNo>sample string 1</enrolleeNo>
  <newPassword>sample string 2</newPassword>
</changePasswordRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

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

Response Information

Resource Description

changePasswordResult
NameDescriptionTypeAdditional information
success

boolean

None.

errorMsg

string

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "errorMsg": "sample string 2",
  "message": "sample string 3"
}

application/xml, text/xml

Sample:
<changePasswordResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enrrolleeApp.Models.api_Main.changePassword">
  <errorMsg>sample string 2</errorMsg>
  <message>sample string 3</message>
  <success>true</success>
</changePasswordResult>

text/html

Sample:
{"success":true,"errorMsg":"sample string 2","message":"sample string 3"}