Update Alert Definition

Update Alert Definition
Request
URI
PUT
https://{api_host}//api/alert-definitions/{alert_def_id}
COPY

Request Body
alertsUpdateAlertDefinitionRequest of type(s) application/json
Required
{
    "cancelCount": 0,
    "properties": [
        "string"
    ],
    "deviceTemplateIds": [
        "string"
    ],
    "name": "string",
    "lambda": "string",
    "triggerCount": 0,
    "alertSeverity": "string",
    "isRealTime": false,
    "metrics": [
        "string"
    ],
    "notificationId": "string",
    "deviceId": "string",
    "recommendation": "string",
    "duration": 0,
    "alertTemplate": "string",
    "alertDefId": "string",
    "deviceTemplateId": "string",
    "notificationDefinitionId": "string",
    "description": "string"
}
integer As int32 As int32
cancelCount
Optional

cancelCount

array of string
properties
Optional

properties

array of string
deviceTemplateIds
Optional

deviceTemplateIds

string
name
Optional

name

string
lambda
Optional

lambda

integer As int32 As int32
triggerCount
Optional

triggerCount

alertSeverity
Optional

alertSeverity

boolean As boolean As boolean
isRealTime
Optional

isRealTime

array of string
metrics
Optional

metrics

string
notificationId
Optional

notificationId

string
deviceId
Optional

deviceId

string
recommendation
Optional

recommendation

integer As int32 As int32
duration
Optional

duration

alertTemplate
Optional

alertTemplate

string
alertDefId
Optional

alertDefId

string
deviceTemplateId
Optional

deviceTemplateId

string
notificationDefinitionId
Optional

notificationDefinitionId

string
description
Optional

description

Responses
200
Returns alertsAlertDefinitionId of type(s) */*
{
    "alertDefId": "string"
}
string
alertDefId
Optional

alertDefId


404

Not Found

Operation doesn't return any data structure