Get user details
|
getUserDetails |
|
|---|---|
|
URL |
/api/v1/getUserDetails |
|
Description |
Used by IonReporterUploader plugin to get user details based on username and password. Returns the user details. |
|
Method |
POST |
|
Request query parameters |
|
|
Example request |
|
|
Request headers |
Content-Type: application/x-www-form-urlencoded |
|
Returns |
|
Response fields
|
Status code |
Response message |
|---|---|
|
200 |
Successful response |
|
400 |
Bad request |
|
404 |
Not found |
|
401 |
User is not authenticated |
|
500 |
Error occurred |
Curl command
curl -X POST -k https://<server name>/api/v1/getUserDetails -H "Content-Type:application/x-www-form-urlencoded" -d "userName=ion.reporter@lifetech
.com&password=IonPass123"
