User Create and Update
API URL
{{url}}/admin-service/healthfacility/user-update
Method
PUT
Description
Creation of the Users
Sample Input
Field Name
Type
Mandatory
Example
appTypes
String
Yes
AppTypes for user
firstName
String
Yes
First Name of user
roles
String
Yes
Roles for the user
lastName
String
Yes
Last name of the user
gender
String
Yes
User gender
phoneNumber
Bigint
Yes
User Phone Number
username
String
Yes
login user name
culture
String
Yes
User culture
countryCode
Bigint
Yes
Country Code
country
String
Yes
Country details
tenantId
Bigint
Yes
Tenant Id
supervisorId
Bigint
Yes
Supervisor Id
roleIds
Bigint
Yes
Role Ids
active
Boolean
Yes
Status for user
redRisk
Boolean
Yes
RedRisk for user
Authorization (Header)
String
Yes
Bearer 1ba363a1edf54402b51f58060aa52b11d30f99a490295adec900fdabf2b472181c0bfb165be18f4f5c430c7218a244bd29b9300d3471acc08197ccfb996118f6
client
String
Yes
web
Sample Output
Field Name
Type
Comments
message
String
Admin updated successfully.
status
Boolean
User entity status