Update notification by email
POST
/users/updatenotifications/{email}Update notifications by email. Params must be stringified json
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}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
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"
Example
{
"meta": {
"code": 200
},
"response": "notifications have been successfully updated",
"result": "OK"
}
Last modified: a month ago