Skip to main content
POST
/
api
/
climate
/
updateDetails
Update climate sensor details
curl --request POST \
  --url https://api2.rhombussystems.com/api/climate/updateDetails \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "associatedCameras": [
    "AAAAAAAAAAAAAAAAAAAAAA.v0"
  ],
  "associatedCamerasUpdated": true,
  "deleted": false,
  "deletedUpdated": true,
  "description": "Temperature and humidity sensor in main office",
  "descriptionUpdated": true,
  "floorNumber": 1,
  "floorNumberUpdated": true,
  "latitude": 37.7749,
  "latitudeUpdated": true,
  "locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
  "locationUuidUpdated": true,
  "longitude": -122.4194,
  "longitudeUpdated": true,
  "name": "Main Office Sensor",
  "nameUpdated": true,
  "policyUuid": "AAAAAAAAAAAAAAAAAAAAAA",
  "policyUuidUpdated": true,
  "subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
  "subLocationsHierarchyKeyUpdated": true,
  "uuid": "AAAAAAAAAAAAAAAAAAAAAA"
}
'
{
  "error": true,
  "errorMsg": "<string>",
  "warningMsg": "<string>"
}

Authorizations

x-auth-apikey
string
header
required

Your API key for Rhombus.

Headers

x-auth-scheme
string
default:api-token
required

Authentication scheme indicator ("api-token").

Required string length: 9

Body

application/json

Request to update details for an environmental sensor.

associatedCameras
(string<DeviceFacetUuid> | null)[] | null

List of associated camera device facet UUIDs

RUUID with optional appended facet information

Example:

"AAAAAAAAAAAAAAAAAAAAAA.v0"

associatedCamerasUpdated
boolean | null
deleted
boolean | null

Whether the environmental sensor is deleted

Example:

false

deletedUpdated
boolean | null
description
string | null

Description of the environmental sensor

Example:

"Temperature and humidity sensor in main office"

descriptionUpdated
boolean | null
floorNumber
integer<int32> | null

Floor number where the environmental sensor is located

Example:

1

floorNumberUpdated
boolean | null
latitude
number<double> | null

Latitude coordinate of the environmental sensor

Example:

37.7749

latitudeUpdated
boolean | null
locationUuid
string<RUUID> | null

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

locationUuidUpdated
boolean | null
longitude
number<double> | null

Longitude coordinate of the environmental sensor

Example:

-122.4194

longitudeUpdated
boolean | null
name
string | null

Name of the environmental sensor

Example:

"Main Office Sensor"

nameUpdated
boolean | null
policyUuid
string<RUUID> | null

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

policyUuidUpdated
boolean | null
subLocationsHierarchyKey
object

A sequence of one or more base 64 (url-safe) uuid substrings. These substrings are separated by dots (.).

Example:

"AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA"

subLocationsHierarchyKeyUpdated
boolean | null
uuid
string<RUUID> | null

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

Response

200 - application/json

OK

Response indicating the result of updating environmental sensor details.

error
boolean | null
errorMsg
string | null
warningMsg
string | null