Set the events settings for a device.
Note: PUT calls update data entirely. Any data not mentioned in the call, will be deleted.
Successful operation
Bad request error
Unauthorized error
Forbidden error
Not found error
Internal server error
{- "vehicleType": "Private",
- "events": [
- {
- "eventType": "acceleration",
- "dataType": "none",
- "weight": 3,
- "speedLimit": 120,
- "numberOfBeeps": 2,
- "minimumSpeed": 60,
- "eventAcclValue": 1,
- "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"
}