Play in-cab audible alert sound for device
POST
https://fleet.roscolive.com/api/v1.0/devices/{device_id}/playaudible
deviceaudio
expires
parameter to set an expiration for the prompt so that if the request is received after this time, it will be ignored. This will prevent any potential confusion of the driver by playing an alert too long after the initial trigger event.User Role Permissions
Role | Permission |
---|---|
Partner | |
Partner View | |
Custom Partner | |
Fleet Manager | |
Group Manager | |
User | |
Custom User |
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://fleet.roscolive.com/api/v1.0/devices//playaudible' \
--form 'audible_type="chime"' \
--form 'expires="20250310171530"'
Response Response Example
202 - Success
{
"meta": {
"code": 202
},
"response": "play-audible request sent to device.",
"result": "OK"
}
Request
Path Params
device_id
integer
required
Body Params multipart/form-data
audible_type
enum<string>
required
Allowed values:
chimebeep_twobeep_fourdistractionobstructiontailgatingharsh_drivingheadwayhspeedno_sb
Example:
chime
expires
string <date-time>
required
Example:
20250310171530
Match pattern:
YYYYMMDDhhmmss