Set the events settings in bulk for devices. Provide either a list of IMEIs or group IDs.
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
{- "imeis": [
- "357660101000198"
], - "config": {
- "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"
}