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 |
| Integer | User ID |
| String | Login email ID |
| String | User’s gender |
| String | User role |
| Boolean | Is active |
| Boolean | Is account expired |
| Boolean | Is account locked |
| Boolean | Is credentials expired |
| Boolean | |
| Timestamp without timezone | Date |
| String | User first name |
| String | User last name |
| String | User middle name |
| String | User Phone number |
| Timestamp | Time zone of user |
| Bigint | User’s organization |
| Bigint | |
| String | User’s country code |
| Boolean | |
| String | User’s country |
| Bigint | User’s device information ID |
| Boolean | Is super user |
| Bigint | Culture ID of user |