User List
API URL
{{url}}/admin-service/user/admin-users
Method
POST
Description
Get user list
Sample Input
Field Name
Type
Mandatory
Example
countryId
Bigint
Yes
Country id
tenantId
Bigint
No
Tenant Id
limit
Bigint
Yes
Limit to fetching data
skip
Bigint
No
Skip data to filter data
searchTerm
String
No
Search Term to filter data
roleNames
String
No
List of roles name
isSiteUsers
Boolean
Yes
Site Users
tenantBased
Boolean
Yes
TenantBased
tenantIds
String
Yes
Tenant Ids
appTypes
String
Yes
App type for the user
Authorization (Header)
String
Yes
Bearer 1ba363a1edf54402b51f58060aa52b11d30f99a490295adec900fdabf2b472181c0bfb165be18f4f5c430c7218a244bd29b9300d3471acc08197ccfb996118f6
client
String
Yes
web
Sample Output
Field Name
Type
Comments
message
String
Got users.
status
String
Entity status
entityList
String
Entity List
id
Bigint
Medication id
firstName
String
First Name of user
roles
String
Roles for the user
lastName
String
Last name for the user
gender
String
User gender
phoneNumber
Bigint
User phone Number
username
String
login user name
countryCode
Bigint
Country Code
country
String
Country details
organizations
String
Organizations details
tenantId
Bigint
Tenant Id
fhirId
Bigint
Fhir Id for user
suiteAccess
String
mob
Villages
String
List of villages
culture
String
User culture
timezone
Date
User timezone
defaultRoleName
String
CHW
isTermsAndConditionsAccepted
Boolean
Check for Terms And Conditions Accepted
designation
String
Designation
active
Boolean
Status for user
redRisk
Boolean
RedRisk for user