Get User Details by Pagination
The Get User Details by Pagination API accepts start and pageSize as input parameters and returns all users' details. The pageSize represents the maximum number of the users for which the details are to be returned. If the start is specified, the number of users that are returned are from start position to pageSize value. For example: if the start is zero and pageSize is five, then six users from position zero to five are returned.
URL
The HTTP URL for Get User Details by Pagination API is:
http://<host>:<port>/api/v1/accessmgmt/users?start=0&pageSize=10
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
{ "total" : 3, "users" : [ { "id" : 1, "email" : "admin@konylabs.com", "displayName" : "Administrator", "mobileNo" : "", "activeFlag" : true, "lastModifiedBy" : "", "lastModifiedDate" : "06/15/2016 02:00:18 PM IST", "createdDate" : "06/15/2016 02:00:18 PM IST", "createdBy" : "admin", "userName" : "admin", "selectedPermissionIds" : [ ], "selectedGroupIds" : [ 1 ] }, { "id" : 2, "email" : "mobilefabricadmin@konylabs.com", "displayName" : "Mobile Fabric Administrator", "mobileNo" : "", "activeFlag" : true, "lastModifiedBy" : "", "lastModifiedDate" : "06/15/2016 02:00:18 PM IST", "createdDate" : "06/15/2016 02:00:18 PM IST", "createdBy" : "mobilefabricadmin", "userName" : "mobilefabricadmin", "selectedPermissionIds" : [ ], "selectedGroupIds" : [ 1 ] }, { "id" : 3, "email" : "aron.hale@kony.com", "displayName" : "Aron Hale", "mobileNo" : "+919080706050", "activeFlag" : true, "lastModifiedBy" : "admin", "lastModifiedDate" : "06/22/2016 05:51:39 PM IST", "createdDate" : "06/22/2016 05:51:39 PM IST", "createdBy" : "admin", "userName" : "108", "selectedPermissionIds" : [ ], "selectedGroupIds" : [ ] } ] }
Response Status
Code | Description |
---|---|
Status 200 | Array of user details |
Status 401 | Unauthorized request |
Status 500 | Server failure to process request |