Login
API URL
{{url}}/auth-service/session
Method
POST
Description
Login and get Access Token
Input
Field Name
Type
Mandatory
Example
client(Header)
String
Yes
web
username
String
Yes
superXXXn@XXX.mdt
password
String
Yes
Hashed Password
Sample Input:
{
"username": "spxxxice@xx.mdt",
"password": "1ba363a1edf54402b51f58060aa52b11d30f99a490295adec900fdabf2b472181c0bfb165be18f4f5c430c7218a244bd29b9300d3471acc08197ccfb996118f6"
}
Output
Field Name
Type
Comments
id
Bigint
User ID
firstName
String
User First Name
lastName
String
User Last Name
username
String
Login Email ID
phoneNumber
String
User Phone number
roles
String
User Role
active
Boolean
Is active
currentDate
Timestamp without timezone
Current Date
tenantId
Bigint
User Tenant ID
countryCode
Bigint
Country Code of User
country
String
Userβs Country
isSuperUser
Boolean
Super User Check
isJobUser
Boolean
Job User Check
organizationIds
Bigint
Userβs Organization
suiteAccess
String
Suit Access of User
client
String
Client mob or web
fhirId
Bigint
Userβs Fhir ID
timezone
Timestamp
User Timezone
cultureId
Bigint
Culter Id
culture
String
Userβs Culture
isTermsAndConditionsAccepted
Boolean
User Terms and Conditions Accepted