RoscoLive API v1.0
  1. User
RoscoLive API v1.0
  • Device
    • Get device list for multiple companies
      GET
    • Get current activity status of devices
      GET
  • Driver Scoring / Coaching
    • Get company event score weights
      GET
    • Update company event score weights
      POST
  • Event
    • Get company events
      GET
    • Request videos of an event
      PUT
    • Get events for a device
      GET
  • Fleet Configuration
    • Create new profile in a company
      POST
    • Get a company profile
      GET
  • Metadata
    • Get alerts and events of devices for company
      GET
  • Report
    • Get custom report data
      GET
    • Get all events report for company
      GET
    • Get event count summary report for company devices
      GET
    • Update custom report
      POST
    • Create custom report for user
      PUT
  • User
    • Get a user
      GET
    • Get own info
      GET
    • Get application notifications
      GET
    • SD card reformat reminder
      POST
    • Update notification by email
      POST
    • Get event / sms notification settings
      GET
  1. User

Update notification by email

POST
https://fleet.roscolive.com/api/v1.0/users/updatenotifications/{email}
Update notifications by email. Params must be stringified json
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://fleet.roscolive.com/api/v1.0/users/updatenotifications/' \
--form 'harshaccel="{email\": bool, \"sms\": bool, \"phone_number\": int, \"vehicles: list of vehicles}"' \
--form 'harshbraking="{email\": bool, \"sms\": bool, \"phone_number\": int, \"vehicles: list of vehicles}"' \
--form 'alert_idling="{email\": bool, \"sms\": bool, \"phone_number\": int, \"vehicles: list of vehicles}"' \
--form 'daily_recording_status_notifs="{email\": bool, \"sms\": bool, \"phone_number\": int, \"vehicles: list of vehicles}"' \
--form 'daily_new_cameras_notifs="{email\": bool, \"sms\": bool, \"phone_number\": int, \"vehicles: list of vehicles}"' \
--form 'alert_no_sd_card="{email\": bool, \"sms: bool}"' \
--form 'alert_camera_errors="{email\": bool, \"sms: bool}"' \
--form 'seatbelt="{email\": bool, \"sms\": bool, \"phone_number\": int, \"vehicles: list of vehicles}"' \
--form 'smoking="{email\": bool, \"sms\": bool, \"phone_number\": int, \"vehicles: list of vehicles}"' \
--form 'data_pool_usage="{email\": bool, \"sms\": bool, \"frequency\": str}"' \
--form 'data_pool_warning="{email\": bool, \"sms\": bool, \"frequency\": str}"' \
--form 'device_high_data_usage="{email\": bool, \"sms\": bool, \"threshold_data_pool\": str}"' \
--form 'camera_block="{email\": bool, \"sms\": bool, \"phone_number\": int, \"vehicles: list of vehicles}"'
Response Response Example
200 - Success
{
    "meta": {
        "code": 200
    },
    "response": "notifications have been successfully updated",
    "result": "OK"
}

Request

Path Params
email
string 
required
Body Params multipart/form-data
harshaccel
string <json>
optional
Harsh Acceleration notification
Example:
{email": bool, "sms": bool, "phone_number": int, "vehicles: list of vehicles}
harshbraking
string <json>
optional
Harsh Braking notification
Example:
{email": bool, "sms": bool, "phone_number": int, "vehicles: list of vehicles}
alert_idling
string <json>
optional
Idling notification
Example:
{email": bool, "sms": bool, "phone_number": int, "vehicles: list of vehicles}
daily_recording_status_notifs
string <json>
optional
Channel hardware channel performance notification
Example:
{email": bool, "sms": bool, "phone_number": int, "vehicles: list of vehicles}
daily_new_cameras_notifs
string <json>
optional
Fleet update notification
Example:
{email": bool, "sms": bool, "phone_number": int, "vehicles: list of vehicles}
alert_no_sd_card
string <json>
optional
No SD Card alert notification
Example:
{email": bool, "sms: bool}
alert_camera_errors
string <json>
optional
Camera errors notification
Example:
{email": bool, "sms: bool}
seatbelt
string <json>
optional
Seatbelt event notification
Example:
{email": bool, "sms": bool, "phone_number": int, "vehicles: list of vehicles}
smoking
string <json>
optional
Smoking event notification
Example:
{email": bool, "sms": bool, "phone_number": int, "vehicles: list of vehicles}
data_pool_usage
string <json>
optional
Company data pool usage notification
Example:
{email": bool, "sms": bool, "frequency": str}
data_pool_warning
string <json>
optional
Company data pool usage warning notification
Example:
{email": bool, "sms": bool, "frequency": str}
device_high_data_usage
string <json>
optional
Device high data consumption notification
Example:
{email": bool, "sms": bool, "threshold_data_pool": str}
camera_block
string <json>
optional
Camera block event notification
Example:
{email": bool, "sms": bool, "phone_number": int, "vehicles: list of vehicles}

Responses

🟢200Success
application/json
Body
meta
object 
required
Request metadata object
code
integer 
required
HTTP status code returned by server
response
string 
required
Contains response data
result
string 
required
"OK" if request successful, otherwise "Failed"
🟠401Login Required
Modified at 2025-05-06 13:07:22
Previous
SD card reformat reminder
Next
Get event / sms notification settings
Built with