Skip to main content
POST
/
api
/
user
/
updateUserNotificationSettings
Update user notification settings
curl --request POST \
  --url https://api2.rhombussystems.com/api/user/updateUserNotificationSettings \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "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
orgUuid
string<RUUID> | null

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

smsPhoneNumbers
(string | null)[] | null
summaryEmailEnabled
boolean | null
timeFrames
object[] | null
updatedSetMethodMap
object
userUuid
string<RUUID> | null

base 64 (url-safe) uuid string

Example:

"AAAAAAAAAAAAAAAAAAAAAA"

Response

200 - application/json

OK

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