Mobile - Login
API URL
{{url}}/auth-service/session
Method
POST
Description
Login and get Access Token
Input
Field Name
Type
Mandatory
Example
username
String
Yes
superXXXn@XXX.mdt
password
String
Yes
Hashed Password
client(Header)
String
spice mobile
Sample Input:
No request - Will be handled based on App version from Headers and form value of user name and password.
Output
Field Name
Type
Comments
id
Integer
User ID
username
String
Login email ID
gender
String
Userβs gender
roles
String
User role
active
Boolean
Is active
accountExpired
Boolean
Is account expired
accountLocked
Boolean
Is account locked
credentialsExpired
Boolean
Is credentials expired
authorization
Boolean
currentDate
Timestamp without timezone
Date
firstName
String
User first name
lastName
String
User last name
middleName
String
User middle name
phoneNumber
String
User Phone number
timezone
Timestamp
Time zone of user
organizations
Bigint
Userβs organization
tenantId
Bigint
countryCode
String
Userβs country code
isBlocked
Boolean
country
String
Userβs country
deviceInfoId
Bigint
Userβs device information ID
isSuperUser
Boolean
Is super user
cultureId
Bigint
Culture ID of user
Sample Output:
Last updated