v1

latestOpenAPI 3.0.1Apache 2.02026-08-06260217675.1 KB
Automation

Create automation

Creates a new automation for automatic time tracking based on location (geofence), WLAN detection, or beacon detection. The type of automation is determined by the typeId field. Based on the typeId, different fields are required. For geofence (typeId=0): address, latitude, longitude, and radius are required. For WLAN detection (typeId=1): ssid is required. For beacon detection (typeId=2): beaconUUID is required.

post/v1/automations

Request body

projectIdstring
typeIdinteger
actioninteger
enabledboolean
sharedboolean
ssidstring
addressstring
latitudenumber double
longitudenumber double
radiusnumber double
beaconUUIDstring

Response

Automation created successfully

idstring
typeIdinteger
actioninteger
enabledboolean
sharedboolean
ssidstring
addressstring
latitudenumber double
longitudenumber double
radiusnumber double
beaconUUIDstring
userstring
deletedboolean
lastUpdateinteger
createdinteger
namestring