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 |
---|---|
password | Password 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:
URL | catissuecoreopenspecimen/rest/ng/users/validatePassword/{password} |
Method | POST |
Request | application / json |
Response | true / false |
...
code | Applies to | Status Message |
---|---|---|
200 | All resources | User Password has been validated successfully |
400 | All requests | Invalid parameters, e.g duplicate Login Name, duplicate Email Address, blank First Name etc |
401 | All requests | Authorization failed, User doesn’t have Authority |
404 | All requests | User not found, User with given details not present in the systemPassword is not in required format |
500 | All requests | Internal server error, Encountered encountered server error while performing operations |
...