Sensors
Update Sensor
Update an existing Sensor record.
PUT
Update Sensor
Updates an existing Sensor record. You must include the
Id of the record to update along with all required fields.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the Sensor-Edit role.Enums
eSensorType — SensorType values
eSensorType — SensorType values
| Value | Name |
|---|---|
| 1 | PresenceDetection |
| 2 | PeopleCounter |
| 3 | Temperature |
| 4 | Humidity |
| 5 | Light |
| 6 | Noise |
| 7 | CO2 |
| 8 | VolatileOrganicCompounds |
| 9 | HarmfulParticulates |
| 10 | Touch |
| 11 | Water |
| 12 | AtmosphericPressure |
| 13 | Power |
| 14 | OpenClosed |
| 99 | Other |
eSensorDataStrategy — DataStrategy values
eSensorDataStrategy — DataStrategy values
| Value | Name |
|---|---|
| 1 | Polling |
| 2 | Endpoint |
| 3 | DisruptiveTechnologies |
| 4 | Pressac |
Request Body
Required Fields
The Id of the Sensor record to update.
ID of the business linked to this record.
The name value for this sensor.
The reference value for this sensor.
The sensor type value for this sensor.
The data strategy value for this sensor.
Optional Fields
List of desks linked to this record.
The added desks value for this sensor.
The removed desks value for this sensor.
List of resources linked to this record.
The added resources value for this sensor.
The removed resources value for this sensor.
ID of the canned response linked to this record.
The unit value for this sensor.
Whether this sensor is currently active.
The payload data path value for this sensor.
The action trigger function value for this sensor.
The value function value for this sensor.
Whether action send email alert is enabled.
The alert email address value for this sensor.
The webhook url value for this sensor.
Whether action update desk availability is enabled.
Whether action update resource availability is enabled.
Whether action update booking occupancy is enabled.
Whether action send customer email alert is enabled.
Whether action booking start is enabled.
Whether action booking terminate is enabled.
Whether action check in or out is enabled.
Whether action make http request is enabled.
Whether show in now dashboard is enabled.
Whether show in portal is enabled.
The shared secret value for this sensor.
The api key value for this sensor.
The username value for this sensor.
The password value for this sensor.
Code Examples
Response
200
HTTP status code.
200 on success.A human-readable message confirming the update.
Contains the
Id of the updated record.true if the sensor was updated successfully.null on success.Example Response
400
A summary of the validation error(s), in the format
PropertyName: error message.null on validation failure.Array of validation errors.
false when the request fails validation.Example Response
Update Sensor