get https://services.azuga.com/azuga-ws-oauth/v3/users/
Use this API to view the account information of a user in your account. Users are people in your organization that use Azuga for tracking vehicles and reporting on performance and productivity. Driver accounts are also considered as user accounts with limited access to the application.Warning : Make sure that you are setting the method to GET. The same endpoint is used for deleting a user using DELETE method. The deletion of the user is an irreversible action.
Sample Request
https://services.azuga.com/azuga-ws-oauth/v3/users/020f3be1-649c-11ea-a7f6-5b458131c070
API Response Explanation
Field | Description | Data Type |
---|---|---|
id | Unique identifier assigned to the current user. | String |
firstName | The first name of the user | String |
lastName | The last name of the user | String |
Email address linked to the user account. | String | |
primaryContactNumbe | Main contact number of the associated user. | String |
alternateContactNumber | Alternate contact number of the associated user. | Long |
roleId | Role ID assigned to the current user account which is assigned according to the role of the user. | String |
userName | The username of the account | String |
password | The password set by the user for the user account. | String |
pin | The pin set by the user to password protect the device. | String |
isGetMaintenanceAlert | Boolean value denoting whether the maintenance alert package is enabled or not for the user. | String |
isGetNewReleaseAlert | Boolean value denoting whether the new release alert package is enabled or not for the user. | String |
customerId | Unique identifier of customer ID to which the user is associated to. | Long |
createdBy | User name of the account which was used to create the current user account. | String |
lastModifiedBy | User name of the account via which the last modification was made to the current user account. | String |
userType | The type of users available on Azuga application. Each user type has an exclusive identifier assigned to them. They are: 1 - Super User (Administrator for all customer account and used by Azuga team to login any account) 2 - Admin (Administrator of customer account) 3 -Web Admin(User created by Admin) 4 - Driver (Driver associated with the vehicle) | Object |
lastModifiedAt | The time stamp at which last modification was made to the user account. | Timestamp |
deleted | Boolean value represents the delete status of the user True = Deleted False = Not Deleted | boolean |
createdAt | For Azuga internal use | Timestamp |
timeZone | Timezone of the user | String |
deletedAt | For Azuga internal use | Timestamp |
apiKey | The unique code that is passed in to the API to identify the calling user. | String |
lastLoginDateTime | Time stamp at which last login was made by the user account. | Timestamp |
licenseNumber | Licence number linked with the user account(Driver). | String |
licenseIssuedDate | The issue date of the user's license. | Date |
licenseExpiry | The date at which the user's licence will expire. | Date |
licenseIssuedState | The state of a country's where the user's l | String |
profilepicUrl | The URL of the profile picture | String |
emailVerification | Boolean value denoting whether the email account linked to the user account has been verified. | boolean |
userDetails | The details of the user account. | Object |
vehicleId | the vehicle ID associated with the user account | String |
vehicleName | The name of the vehicle associated with the user account. | String |
fromDeleteDevice | Boolean value denoting whether the current user account has been disassociated from the device it was paired with. | boolean |
fullName | The full name of the user. | String |
tags | The tags associated with the | String |
userTagsAssociated | The server generated tags associated with the current user accounts. | List |
userTagsNames | Tag names associated with the user | List |
roleName | The role assigned to the associated user. | String |
adminingGroups | The groups administered by the associated user. | List |
countryId | The ID of the country to which the associated user belongs to. | Integer |
groupIdsAndNames | The group IDs and names which are linked with the user. | List |
userTypeName | The user type assigned to the user account. | String |
userTypeId | The unique identifier assigned to each user type. 1 - Super User (Administrator for all customer account and used by Azuga team to login any account) 2 - Admin (Administrator of customer account) 3 -Web Admin(User created by Admin) 4 - Driver (Driver associated with the vehicle) | Integer |
enabledPackageNames | The list of packages enabled for the associated user account. | String |
pairingTypeId | The types of pairing method available on Azuga application. Each pairing method has a unique identifier assigned to them. They are: 0 - Web 1 - Bluetooth 2 - Beacon 3 - NoPairing 4 - E-Logs 5- Bluetooth | Integer |
pairingType | The pairing method used to associate the device to the user profile. | String |
nodeTableCreated | For Azuga Internal use | boolean |
employeeId | The employee ID linked to the user account. | String |
serviceHour | The number of hours the associated user needs to complete. | Boolean |
dispatchNumber | The unique number of the package being dispatched. | String |
dispatchStatus | The latest status of the package being dispatched. | String |
dispatchRedirectURL | RedirectURL of the package being dispatched. | String |
notInGroup | Boolean value denoting whether the current user account is linked to any group. | boolean |
pageName | The name of the page. | String |
pageId | The unique identifier of the different modules of web page. You can select a module from the Azuga web app to exclusively appear as the home page for a particular users. The modules are represented by the following code: 0 - Null(Default homepage of Azuga web application) 1 - map.html'(Live Map) 2 - dashboards_overview.html(Live Map) 3 - reports.html(Live Map) 4 - admin.html(Live Map) 5 - rewards.html(Live Map) 6 - maintenance.html(Live Map) 9 - reseller.html(Live Map) 11 - safetycam.html(Live Map) | long |
pageUrl | The URL of the page. | String |
groupIds | List of group IDs to which the user account has been assigned to. | List |
groupId | For Azuga internal use | String |
groupNames | List of group names to which the user is assigned to. | String |
userDocumentList | The list of documents saved by the user. | List |
userDocsDeleted | The list of documents the associated user has deleted. | List |
userDocs | The object which consists of all metadata of the docs which the current user account has stored in the server. | String |
uploadType | The media type of the uploaded file. | String |
userDocURIs | The URL of user documents where the user documents have been stored. | List |
notLoggedinHasAccessToGroup | The list of group the associated user has acces to without logging in. | boolean |
fuelCardNumber | The fuel card number linked to the user account. | String |
plainPassword | The decrypted password set by the user. | String |
useDefaultRole | Boolean representing whether the user is assigned with use default role | boolean |
useDefaultGroup | Boolean representing whether the user is assigned with use default group | boolean |
fetchCompleteResponse | For Azuga internal use | boolean |
adminUserId | The user ID of the admin to which the user account is linked to. | String |
node | For Azuga internal use | String |
loginPwdOption | For Azuga internal use | Short |
prevLastLoginDateTime | For Azuga internal use | Timestamp |
elogVistrack | For Azuga internal use | boolean |
ssouser | For Azuga internal use | boolean |