Update the default event settings for all devices in an organization.When the Organization profile is enabled, these settings apply to all devices currently in the organization and any devices added in the future.
Note: This API call only updates the existing event settings object with the values provided in the requested payload. If no values are provided, the existing settings are deleted.
Successful operation
Bad request error
Unauthorized error
Forbidden error
Internal server error
{- "vehicleType": "Private",
- "events": [
- {
- "eventType": "cellPhoneUse",
- "dataType": "none",
- "weight": 3,
- "speedLimit": 120,
- "numberOfBeeps": 2,
- "minimumSpeed": 60,
- "config": {
- "headwayAlertDayThreshold": 2000,
- "headwayAlertNightThreshold": 3000,
- "headwayAlertTime": 3000,
- "timeWindow": 0,
- "numberOfYawns": 1,
- "assumeMoving": false
}, - "laneWeavingTimes": 3,
- "laneWeavingDurationSeconds": 30,
- "drivingDuration": 8,
- "visualAlert": true,
- "audioAlert": true
}
]
}
{- "requestId": "df5fg-45fgfdsg-45fg-45454",
- "data": {
- "vehicleType": "Private",
- "events": [
- {
- "eventType": "cellPhoneUse",
- "dataType": "none",
- "weight": 3,
- "speedLimit": 120,
- "numberOfBeeps": 2,
- "minimumSpeed": 60,
- "config": {
- "headwayAlertDayThreshold": 2000,
- "headwayAlertNightThreshold": 3000,
- "headwayAlertTime": 3000,
- "timeWindow": 0,
- "numberOfYawns": 1,
- "assumeMoving": false
}, - "laneWeavingTimes": 3,
- "laneWeavingDurationSeconds": 30,
- "drivingDuration": 8,
- "visualAlert": true,
- "audioAlert": true
}
]
}
}