Skip to main content
POST
/
api
/
audiogateway
/
updateDetails
Update audio gateway details
curl --request POST \
  --url https://api2.rhombussystems.com/api/audiogateway/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": "Audio gateway for main entrance monitoring",
  "descriptionUpdated": true,
  "floorNumber": 1,
  "floorNumberUpdated": true,
  "latitude": 37.7749,
  "latitudeUpdated": true,
  "locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
  "locationUuidUpdated": true,
  "longitude": -122.4194,
  "longitudeUpdated": true,
  "name": "Main Entrance Audio Gateway",
  "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 audio gateway. Note: uuid is a required field.

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

List of associated camera device UUIDs

RUUID with optional appended facet information

Example:

"AAAAAAAAAAAAAAAAAAAAAA.v0"

associatedCamerasUpdated
boolean | null
deleted
boolean | null

Indicates whether the audio gateway is deleted

Example:

false

deletedUpdated
boolean | null
description
string | null

Description of the audio gateway

Example:

"Audio gateway for main entrance monitoring"

descriptionUpdated
boolean | null
floorNumber
integer<int32> | null

Floor number where the audio gateway is located

Example:

1

floorNumberUpdated
boolean | null
latitude
number<double> | null

Latitude coordinate of the audio gateway location

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 audio gateway location

Example:

-122.4194

longitudeUpdated
boolean | null
name
string | null

Name of the audio gateway

Example:

"Main Entrance Audio Gateway"

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 audio gateway details.

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