This API allows the fleet's admin to add a fleet user.
OK
{- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "role": 2,
- "accessable_fleet": [
- 0
]
}
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "data": {
- "existed_email": true
}
}
This API can get the list of user.
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "total": 0,
- "data": [
- {
- "created_time": 0,
- "email": "string",
- "id": 0,
- "last_login_time": "string",
- "organization_id": 0,
- "role": 1,
- "status": 0,
- "user_name": "string"
}
]
}
This API allows the fleet's admin to edit any user except themselves.
All user data must be uploaded, and each upload will completely overwrite the previous data.
OK
{- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "role": 2,
- "accessable_fleet": [
- 0
]
}
This API allows admin to add a contract fleet.
OK
This API can get the list of contract fleets.
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 can get the detail of fleets.
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",
- "logo_url": "string"
}
]
}
This API allows admin to edit information of fleet.
Only the parameters that are passed in will be updated.
OK
This API can get the configurations of the specified fleet.
OK
{- "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,
All configuration data must be uploaded, and each upload will completely overwrite the previous data.
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 can get the list of devices for fleet and all the contract fleets under it.
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "total": 0,
- "data": [
- {
- "activated_since": 0,
- "app_version": "string",
- "cid": "string",
- "model": "string",
- "name": "string",
- "plan_type": "string",
- "serial_number": "string",
- "user": "string"
}
]
}
This API can get available models of devices under the user's fleet, including the contract fleets.
OK
{- "uq": "3903dc78-9349-41a0-9662-d1e33de117f8",
- "doc_version": "latest",
- "result": true,
- "code": "S00000",
- "message": "string",
- "build": "string",
- "data": [
- {
- "name": "string",
- "model": "string"
}
]
}