Set events settings

Set the events settings for a device.

Note: PUT calls update data entirely. Any data not mentioned in the call, will be deleted.

Request
Security:
path Parameters
imei
required
string (IMEI)

The IMEI of the device. The IMEI number can be found on a sticker on the device itself or on the back of the device box.

Example: 357660101000198
Request Body schema: application/json
vehicleType
required
string (Vehicle type)

The type of vehicle associated with the device.

The type of vehicle affects the sensitivity of the device's motion sensor. Private is the most sensitive to movements, and trailer is the least sensitive.

Enum: "Private" "Van" "Trailer"
required
Array of objects (Event settings)

The events array.

Responses
200

Successful operation

400

Bad request error

401

Unauthorized error

403

Forbidden error

404

Not found error

500

Internal server error

put/devices/{imei}/event-config
Request samples
application/json
{
  • "vehicleType": "Private",
  • "events": [
    ]
}
Response samples
application/json
{
  • "requestId": "df5fg-45fgfdsg-45fg-45454"
}