Skip to main content

Change Password

Request to be POSTed to uri : /NorenWClientTP/Changepwd

Request Details :

Parameter NamePossible valueDescription
jData*Should send json object with fields in below list
Json FieldsPossible valueDescription
uid*User Id
oldpwd*Sha256 of old password
pwd*New password in plain text

Response Details :

Response data will be in json format with below fields.

Json FieldsPossible valueDescription
statOk or Not_OkPassword reset is Success Or failure status
request_timeResponse received time.
dmsg"Password Change Success. Your new password will expire in 60 days"This will be present only in case of success. Number of days to expiry will be present in the same.
emsg1) "Error Occurred : Password couldn't be changed as it is among the previous 3 passwords"2) "Error Occurred : Please enter an alphanumeric password of minimum 8 characters. Refer password criteria for more details"This will be present only if password change fails

Sample Success Response :

{
"request_time":"10:20:04 27-05-2020",
"stat":"Ok",
“dmag”:”Password Change Success. Your new password will expire in 15 days”
}

Sample Failure Response :

{
"request_time":"10:21:09 27-05-2020",
"stat":"Not_Ok",
"emsg":"Error Occurred : Password couldn't be changed as it is among the previous 3 passwords"
}