Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 This API available for validate the user password. You can validate user password through the HTTP POST method, URL  http://<host>:<port>/catissuecoreopenspecimen/rest/ng/users/validatePassword/{password}

Use this resource for validate the password. Use HTTP POST method to call this API by passing the below details in JSON format.

 

Below are the attributes which need to be sent in the request body:

Parameter
Details
passwordPassword  Password that needs to be validate

 

...


http[s]:<host>:<port>/openspecimen/rest/ng/users/validatePassword/{password}

Use this URL to validate password in openSpecimen application.


Result:

The response of this request will contains the details of the validated password.

Below is the example of the validate password:

URLcatissuecoreopenspecimen/rest/ng/users/validatePassword/{password}
MethodPOST
Requestapplication / json

Response

true / false

...

User not found, User with given details not present in the system
code
Applies to
Status Message
200All resourcesUser Password has been validated successfully
400All requestsInvalid parameters, e.g  duplicate Login Name, duplicate Email Address, blank First Name etc
401All requestsAuthorization failed, User doesn’t have Authority
404All requestsPassword is not in required format
500All requestsInternal server error, Encountered encountered server error while performing operations

 

 

 

...