Update the default event settings for all devices in an organization. These settings apply to all devices currently in the organization and any devices added in the future.
Note:
1. This API call only updates the existing event settings object with the values provided in the requested payload. Any values not provided in the request will remain the same.2. If an organization profile is enabled, the updated values will be set for all devices in this organization. Any values not provided, will not be updated in the devices' settings.
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
}
]
}
}