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
eSensorDataStrategy — DataStrategy values
eSensorDataStrategy — DataStrategy values
Request Body
Required Fields
integer
required
The Id of the Sensor record to update.
integer
required
ID of the required location that owns this sensor..
string
required
Required non-empty display name for the sensor; together with Unit it identifies the sensor within the location..
string
required
Required unique integration reference used to find this sensor within its location; set it when creating the sensor and do not change it later..
integer
required
Kind of reading produced by the device: PresenceDetection, PeopleCounter, Temperature, Humidity, Light, Noise, CO2, VolatileOrganicCompounds, HarmfulParticulates, Touch, Water, AtmosphericPressure, Power, OpenClosed, or Other; presence values are normalized to 0 or 1..
integer
required
How readings reach Nexudus: Polling fetches data from PayloadDataPath, while Endpoint, DisruptiveTechnologies, and Pressac receive data through their integrations..
Optional Fields
integer[]
List of floor plan desks whose occupancy and latest sensor value this sensor can update; an empty list means no desks are affected..
integer[]
IDs added to the Desks relationship..
integer[]
IDs removed from the Desks relationship..
integer[]
List of bookable resources whose availability, occupancy, and latest sensor value this sensor can update; an empty list means no resources are affected..
integer[]
IDs added to the Resources relationship..
integer[]
IDs removed from the Resources relationship..
integer
ID of the optional email template used by sensor alert actions..
string
Optional unit label for the sensor reading, such as C, percent, or people; together with Name it identifies the sensor within the location..
boolean
Whether the sensor accepts incoming data and can be polled; inactive sensors do neither..
string
URL fetched for a Polling sensor to obtain its payload; polling does nothing when this value is empty..
string
Optional Flee expression that decides whether a changed reading runs enabled actions; leave empty to run actions for every changed reading, and use payload and sensor as the available context variables..
string
Optional Flee expression that extracts the sensor reading from the incoming payload; leave empty to use payload[“value”]..
boolean
Whether a changed reading that triggers actions sends an operator email alert; repeated alerts are suppressed until a non-triggering reading occurs..
string
Optional email address that receives operator sensor alerts when ActionSendEmailAlert is enabled; must be a valid email address..
string
Optional destination URL used by the HTTP request action; it is also logged as the polling source for diagnostics..
boolean
Whether triggering readings update availability for the linked floor plan desks..
boolean
Whether triggering readings update availability for the linked bookable resources..
boolean
Whether triggering readings update occupancy for current bookings on linked resources..
boolean
Whether a changed reading that triggers actions sends a customer alert email; repeated alerts are suppressed until a non-triggering reading occurs..
boolean
Whether triggering readings automatically start pending bookings on linked resources..
boolean
Whether triggering readings automatically terminate active bookings on linked resources..
boolean
Whether triggering readings automatically check customers in or out..
boolean
Whether triggering readings send an HTTP request to WebhookUrl..
boolean
Whether the sensor is shown in the Now dashboard for live monitoring..
boolean
Whether this active sensor is included in customer portal and app sensor data..
Encrypted shared secret used to validate incoming webhook signatures; configure it through a secure integration workflow, not the Admin Agent..
string
Encrypted API credential used to authenticate sensor polling or incoming requests; configure it through a secure integration workflow, not the Admin Agent..
string
Username paired with the encrypted Password for HTTP Basic authentication; it is not usable through the Admin Agent because the paired password is protected..
string
Encrypted password paired with Username for HTTP Basic authentication; configure it through a secure integration workflow, not the Admin Agent..
Code Examples
Response
200
integer
HTTP status code.
200 on success.string
A human-readable message confirming the update.
object
Contains the
Id of the updated record.boolean
true if the sensor was updated successfully.array
null on success.Example Response
400
string
A summary of the validation error(s), in the format
PropertyName: error message.any
null on validation failure.object[]
Array of validation errors.
boolean
false when the request fails validation.Example Response