geofences
Módulo Places · 5 operaciones
List geofence rows
GET/geofences
A geofence used for Compass clock in. Returns a cursor page of geofence rows the caller may see. The default order is `created_at` ascending. Supports sparse fieldsets and the filter grammar.
Create a geofence
POST/geofences
A geofence used for Compass clock in. Creates a geofence. Requires `Idempotency-Key`; a replay returns the original response. The organization is derived from the credential or the parent row, never from the body.
Get a geofence
GET/geofences/{id}
A geofence used for Compass clock in. Returns one geofence with its `ETag`. A geofence the caller may not see returns 404.
Update a geofence
PATCH/geofences/{id}
A geofence used for Compass clock in. Updates the fields sent; omitted fields are unchanged. Requires `If-Match` with the current `ETag`: a stale tag returns 412 and a missing tag returns 428.
Delete a geofence
DELETE/geofences/{id}
A geofence used for Compass clock in. Soft-deletes the geofence: it moves to Trash and can be restored for its table's retention period.