Get User Details
API URL
{{url}}/user-service/user/details/{{userId}}
Method
POST
Description
To get user details by user ID
Input
Field Name
Type
Mandatory
Example
userId(parameter)
Bigint
Yes
User unique identification number
Authorization(Header)
String
Yes
Authorized token from login response
client(Header)
String
Yes
web
Sample Input
{{url}}/user-service/user/details/248
Output
Field Name
Type
Comments
message
String
Got user
id
Integer
User ID
firstName
String
User First Name
roles
String
Roles of the user
lastName
String
User Last Name
gender
String
User Gender
phoneNumber
String
User Phone number
username
String
User Username
countryCode
String
Country Code
country
String
Country details
organizations
String
Organization
tenantId
String
Tenant id of user
fhirId
Bigint
Fhir ID for the user
suiteAccess
String
User Suite Access
villages
String
User Villages
culture
String
Culture details of the User
timezone
Timestamp
User Timezone
defaultRoleName
String
Userβs Role Name
insightUserOrganization
String
Insights User
reportUserOrganization
String
Report User
insightId
String
Insight id
isTermsAndConditionsAccepted
Boolean
Terms and Condition
designation
String
Userβs designation
redRisk
Boolean
True or False