List users assignable to vehicles
GET
Returns every user who has not been deleted, sorted by username, with their name, email and role. Use the userId values when assigning users to a vehicle.
BearerAuthheader
AuthorizationBearer <JWT>OK
*/*- response
status*stringOutcome of the call: SUCCESS when the request was handled, ERROR otherwise.
message*stringShort human-readable message describing the outcome, e.g. which record was fetched or saved.
data?array<>|Users that can be assigned to a vehicle, sorted by username.
Example Request
curl -X GET 'https://beta.iotoms.com/api/v1/ops/vehicles/assignable-users'Example Response
{ "status": "string", "message": "string", "data": [ { "userId": 0, "username": "string", "firstName": "string", "lastName": "string", "email": "string", "roleId": 0, "roleKey": "string" } ]}