Skip to main content
POST
/
api
/
org
/
updateOrgNotificationTemplateV2
Update organization notification template V2
curl --request POST \
  --url https://api2.rhombussystems.com/api/org/updateOrgNotificationTemplateV2 \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "summaryEmailEnabled": true,
  "templateUpdate": {
    "orgUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "smsPhoneNumbers": [
      "<string>"
    ],
    "summaryEmailEnabled": true,
    "timeFrames": [
      {
        "days": [
          "MONDAY"
        ],
        "interval": {
          "dayOfWeek": 123,
          "minuteOfDayStartInclusive": 123,
          "minuteOfDayStopExclusive": 123
        },
        "mediums": [
          "SMS"
        ],
        "rows": [
          {
            "activities": [
              "SOUND_LOUD"
            ],
            "devices": [
              "AAAAAAAAAAAAAAAAAAAAAA.v0"
            ],
            "diagnostics": [
              "CAMERA_CONNECTED"
            ],
            "locationOnly": [
              "AAAAAAAAAAAAAAAAAAAAAA"
            ],
            "locationOnlyActivities": [
              "SOUND_LOUD"
            ],
            "locationOnlyDiagnostics": [
              "CAMERA_CONNECTED"
            ],
            "locations": [
              "AAAAAAAAAAAAAAAAAAAAAA"
            ],
            "promptUuids": [
              "AAAAAAAAAAAAAAAAAAAAAA"
            ]
          }
        ]
      }
    ],
    "updatedSetMethodMap": {},
    "userUuid": "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 object for updating organization notification template V2.

summaryEmailEnabled
boolean | null

Whether summary email is enabled

Example:

true

templateUpdate
object

Template update configuration

Response

200 - application/json

OK

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