get https://api.azuga.com/azuga-ws/v1/users/view.json
Use this API to get account information of users. Users are drivers in your organization who use the application to evaluate their performance, obtain vehicle information, participate in reward program etc.
Sample Request
https://api.azuga.com/azuga-ws/v1/users/view.json?type=driver
API Response Explanation
Field | Description |
---|---|
code | API Status Code |
message | API Message |
messageCode | API sub-error code |
generatedAt | API generation timestamp in UTC |
currentPage | Current page of the paginated result |
totalPages | Total number of pages in the paginated result |
users | An array of user objects |
userId | Unique identifier representing the driver |
firstName | First name of the driver |
lastName | Last name of the driver |
userName | Username of the account |
userTypeId | Unique identifier representing a user type (admin/drivers) |
userType | Type of user |
fullName | Full name of the driver |
notInGroup | Boolean to indicate if the driver belongs to a group |
deleted | Boolean to indicate if the driver is deleted or not from the application |
trackeeId | Unique identifier representing the vehicle that the driver is paired with |
trackeeName | Name of the vehicle that the driver is paired with |
employeeId | Employee ID of the driver |