Get User Details by ID
The Get User Details by ID API accepts the User ID as an input parameter and fetches a user information matching with the user ID.
URL
The HTTP URL for the Get User Details by ID API is:
http://<host>:<port>/api/v1/accessmgmt/users/<id>
This service implements Gateway Filter for Authentication to authenticate access of the service by a user.
Method
GET
Output Parameters
The following fields are output parameters:
Sample Response
{
"id" : 3,
"email" : "aron.hale@kony.com",
"displayName" : "Aron Hale",
"mobileNo" : "+919080706050",
"activeFlag" : true,
"lastModifiedBy" : "admin",
"lastModifiedDate" : "06/22/2016 06:07:20 PM IST",
"createdDate" : "06/22/2016 05:51:39 PM IST",
"createdBy" : "admin",
"userName" : "108",
"selectedPermissionIds" : [ 16, 18, 17 ],
"selectedGroupIds" : [ 1 ]
}
Response Status
| Code | Description |
|---|---|
| Status 200 | Array of user details |
| Status 400 | Invalid user ID provided or no user found with provided ID |
| Status 401 | Unauthorized request |
| Status 500 | Server failure to process request |