Skip to main content
POST
/
api
/
policy
/
getAudioPolicies
Get audio policies
curl --request POST \
  --url https://api2.rhombussystems.com/api/policy/getAudioPolicies \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '{}'
{
  "error": true,
  "errorMsg": "<string>",
  "policies": [
    {
      "defaultTriggers": [
        {
          "activity": "SOUND_LOUD",
          "threshold": 123
        }
      ],
      "description": "<string>",
      "name": "<string>",
      "orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
      "scheduledTriggers": [
        {
          "schedule": {
            "intervalList": [
              {
                "minuteOfWeekStart": 123,
                "minuteOfWeekStop": 123
              }
            ],
            "mutable": true,
            "name": "<string>",
            "oneTimeUse": true,
            "orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
            "strategy": "WEEKLY_REPEATING_MINUTES",
            "uuid": "AAAAAAAAAAAAAAAAAAAAAA"
          },
          "triggerSet": [
            {
              "activity": "SOUND_LOUD",
              "threshold": 123
            }
          ]
        }
      ],
      "uuid": "AAAAAAAAAAAAAAAAAAAAAA"
    }
  ],
  "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 object for getting all audio policies in the organization.

Response

200 - application/json

OK

Response object containing all audio policies in the organization.

error
boolean | null
errorMsg
string | null
policies
object[] | null

List of audio policies in the organization

warningMsg
string | null