This API is used to get the accounts of current Master,
query with account created time, email, ID, last log in time, organization ID, role, account status, username.
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "count": 0,
- "data": [
- {
- "created_time": 0,
- "email": "string",
- "id": 0,
- "last_login_time": "string",
- "organization_id": 0,
- "role": 4,
- "status": 0,
- "user_name": "string"
}
]
}
This API is to add a new master account, service will send an activation email to allow the user to activate its account.
User’s email address, role of the user, user name, are required
OK
{- "email": "user@example.com",
- "mode": "si",
- "role": 4,
- "userName": "string"
}
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "id": 0
}
This API is used to get the accounts of Fleet, information of the account:
created time, ID, user email address, last log in time, organization ID, user role, account status, and username.
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "count": 0,
- "data": [
- {
- "created_time": 0,
- "email": "string",
- "id": 0,
- "last_login_time": "string",
- "organization_id": 0,
- "role": 2,
- "status": 0,
- "user_name": "string"
}
]
}
This API is to add a new fleet account, service will send an activation email to allow the user to activate its account.
User’s email address, role of the user, user name, and fleet ID are required.
OK
{- "email": "user@example.com",
- "role": 2,
- "userName": "string",
- "id": 0
}
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "id": 0
}
This API is used to edit an existed fleet account with fleet ID, user role, and username.
OK
{- "id": 0,
- "role": 2,
- "userName": "string"
}
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string"
}
This API is to change status of a fleet account, to active and deactivate or delete account
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string"
}
This API is to change status of a master account, to active and deactivate or delete account
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string"
}
This API is used to list the device in Master's inventory (all devices associated with this master account)
.
Devices’ information will be retrieved, for example: IMEI 1/2, software version, last recorded GPS information…etc.
OK
{- "count": 0,
- "data": [
- {
- "IMEI_1": "string",
- "IMEI_2": "string",
- "active_since": "string",
- "app_version": "string",
- "app_version_code": 0,
- "base_version": "string",
- "base_version_code": "string",
- "cid": "string",
- "device_id": 0,
- "device_name": "string",
- "first_connected_timestamp": 0,
- "fleet_id": 0,
- "fleet_name": "string",
- "group_id": 0,
- "install_position": "string",
- "last_connected_timestamp": 0,
- "last_device_server_connection_speed": "string",
- "last_recall_time": 0,
- "latest_gps_signal": "string",
- "latest_lat": 0,
- "latest_lng": 0,
- "latest_lte_signal": "string",
- "latest_timestamp": 0,
- "midm_client_version": "string",
- "midm_client_version_code": "string",
- "midm_system_version": "string",
- "midm_system_version_code": "string",
- "mmf_detail_map_version": "string",
- "model": "string",
- "model_id": 0,
- "ota_created_at": "string",
- "ota_status": "string",
- "owner": "string",
- "plan_status": "string",
- "plan_type": "string",
- "profile_details": [
- {
- "type": "string",
- "display_name": "string",
- "version_code": "string",
- "target_version": "string"
}
], - "recalls": 0,
- "region": "string",
- "region_version": "string",
- "region_version_code": 0,
- "remark": "string",
- "serial_number": "string",
- "speedcam_file_md5": "string",
- "speedcam_version": "string",
- "speedcam_version_code": 0,
- "speedcam_version_name": "string",
- "start_on": "string",
- "status": "string",
- "vehicle_type": "string",
- "vehicle_type_display_name": "string",
- "vehicle_type_is_default": "string",
- "connectivity_state": "string",
- "keep_alive_timestamp": 0,
- "icc_id": "string"
}
]
}
To assign devices to fleet. Multiple device ids are accepted.
The device will be moved from the master's inventory into the fleet.
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string"
}
This API is used to list devices in the Master inventory that have not been assigned to any fleet.
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": 0,
- "message": "string",
- "build": "string",
- "data": [
- {
- "device_id": 0,
- "IMEI_1": "string",
- "IMEI_2": "string",
- "serial_number": "string",
- "model": "string",
- "fleet_id": 0,
- "fleet_name": "string",
- "recalls": 0,
- "last_recall_time": 0,
- "plan": "string"
}
]
}
This API is used to list devices in the Master inventory that have been assigned to fleets.
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": 0,
- "message": "string",
- "build": "string",
- "data": [
- {
- "device_id": 0,
- "IMEI_1": "string",
- "IMEI_2": "string",
- "serial_number": "string",
- "model": "string",
- "fleet_id": 0,
- "fleet_name": "string",
- "recalls": 0,
- "last_recall_time": 0,
- "plan": "string"
}
]
}
This API is used to autocomplete search keywords for the unassigned inventory list.
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": 0,
- "message": "string",
- "build": "string",
- "data": [
- {
- "type": "string",
- "value": "string"
}
]
}
This API is used to autocomplete search keywords for the assigned inventory list.
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": 0,
- "message": "string",
- "build": "string",
- "data": [
- {
- "type": "string",
- "value": "string"
}
]
}
This API is used to get the fleets list under current account, including
How many account created in the fleet, account address, ID, created time, fleet ID, fleet name, phone number registered for the fleet, preferred timezone setting when system sends notification email or messages.
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "count": 0,
- "data": [
- {
- "account_number": 0,
- "address": "string",
- "created_time": 0,
- "id": 0,
- "name": "string",
- "notes": "string",
- "phone_country_code": "string",
- "phone_number": "string",
- "timezone_notification": "string",
- "update_at": "string"
}
]
}
This API is to get the information of a fleet, including
number of accounts created in the fleet, fleet name, fleet ID, fleet created time, email address of fleet owner, phone number of the fleet owner, preferred timezone setting when system sends notification email or messages.
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "data": [
- {
- "account_number": 0,
- "address": "string",
- "created_time": 0,
- "id": 0,
- "name": "string",
- "notes": "string",
- "phone_country_code": "string",
- "phone_number": "string",
- "timezone_notification": "string",
- "update_at": "string"
}
]
}
This API is to add a new fleet
OK
{- "fleetId": "string",
- "name": "string",
- "address": "string",
- "countryCode": "string",
- "notes": "string",
- "phoneNumber": "string"
}
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "id": 0
}
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string"
}
This API allows you to modify the basic information for the fleet include:
OK
{- "id": 0,
- "fleetId": "string",
- "address": "string",
- "countryCode": "string",
- "notes": "string",
- "phoneNumber": "string",
- "timezone_notification": "US/Eastern"
}
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string"
}
{- "current": {
- "liveview": {
- "in_cabin": true
}, - "event": {
- "video_retain_duration": 180,
- "snapshot_retain_duration": 180,
- "nmea_retain_duration": 180
}
}, - "default": {
- "liveview": {
- "in_cabin": true
}, - "event": {
- "video_retain_duration": 180,
- "snapshot_retain_duration": 180,
- "nmea_retain_duration": 180
}
}, - "custom": {
- "liveview": {
- "in_cabin": true
}, - "event": {
- "video_retain_duration": 180,
- "snapshot_retain_duration": 180,
- "nmea_retain_duration": 180
}
}
}
This API can be used to modify the configuration of fleet, ensuring that each modification will overwrite the previous settings
This configuration relies on dynamic JSON input.
OK
{- "liveview": {
- "in_cabin": true
}, - "event": {
- "video_retain_duration": 180,
- "snapshot_retain_duration": 180,
- "nmea_retain_duration": 180
}
}
This API is to get device diagnostics result to allow administrators to quickly understand the health status of devices in online services.
Including when the issue was assigned to a technician, name of the customer, device ID, diagnostic ID, the reported issues, device model, device name, device serial number, and reported time.
OK
{- "offset": 0,
- "limit": 5,
- "order": "ASC",
- "keyword": "string",
- "model": "string",
- "owner": "string",
- "type": "string"
}
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "total": 0,
- "data": [
- {
- "assignee_at": "2019-08-24T14:15:22Z",
- "customers_firstname": "string",
- "customers_lastname": "string",
- "device_id": 0,
- "id": 0,
- "issues": "string",
- "model": "string",
- "name": "string",
- "report_time": "string",
- "serial_number": "string"
}
]
}
This API is used to get the device list of fleet,
query with device IMEI, activated time, app version, base image version, CID, device ID, device name, fleet ID, fleet name, fist connected timestamp, group ID, installation position…etc.
OK
{- "count": 0,
- "data": [
- {
- "IMEI_1": "string",
- "IMEI_2": "string",
- "active_since": "string",
- "app_version": "string",
- "app_version_code": 0,
- "base_version": "string",
- "base_version_code": "string",
- "cid": "string",
- "device_id": 0,
- "device_name": "string",
- "first_connected_timestamp": 0,
- "fleet_id": 0,
- "fleet_name": "string",
- "group_id": 0,
- "install_position": "string",
- "last_connected_timestamp": 0,
- "last_device_server_connection_speed": "string",
- "last_recall_time": 0,
- "latest_gps_signal": "string",
- "latest_lat": 0,
- "latest_lng": 0,
- "latest_lte_signal": "string",
- "latest_timestamp": 0,
- "midm_client_version": "string",
- "midm_client_version_code": "string",
- "midm_system_version": "string",
- "midm_system_version_code": "string",
- "mmf_detail_map_version": "string",
- "model": "string",
- "model_id": 0,
- "ota_created_at": "string",
- "ota_status": "string",
- "owner": "string",
- "plan_status": "string",
- "plan_type": "string",
- "profile_details": [
- {
- "type": "string",
- "display_name": "string",
- "version_code": "string",
- "target_version": "string"
}
], - "recalls": 0,
- "region": "string",
- "region_version": "string",
- "region_version_code": 0,
- "remark": "string",
- "serial_number": "string",
- "speedcam_file_md5": "string",
- "speedcam_version": "string",
- "speedcam_version_code": 0,
- "speedcam_version_name": "string",
- "start_on": "string",
- "status": "string",
- "vehicle_type": "string",
- "vehicle_type_display_name": "string",
- "vehicle_type_is_default": "string",
- "connectivity_state": "string",
- "keep_alive_timestamp": 0,
- "icc_id": "string",
- "assigned_to_vehicle": true
}
]
}
This API is to update device plan type and vehicle type. Update vehicle type will be deprecated in the future
OK
{- "deviceIds": "string",
- "vehicleType": "string",
- "planType": "string"
}
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string"
}
This API is used to recall a device from fleet. The device will lists in Master's inventory after recall.
Need the device id to recall, can insert multiple device IDs.
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "new_device_id": 0,
- "old_device_id": 0,
- "si_info": {
- "name": "string"
}
}
This API retrieves the device's metadata based on its single unit identifiers.
At least one of the parameters must be provided.
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "data": {
- "Model": "string",
- "Carton": "string",
- "Pallet": "string",
- "MATIC_SN": "string",
- "SN_1": "string",
- "IMEI1": "string",
- "BICSKUSER": "string",
- "MCKS": "string",
- "ICCID": "string",
- "Mac_Address": "string"
}
}