SetAlarmState

Description

Set state of Alarm temporary. State is not continue; changed to the actual state when the following alarm checking.

Parameters

Following is list of parameters for this action.

Name Description Mandatory
AlarmName

name of Alarm. It should be unique in user’s all alarm. Only Admin can call this action for the alarms that starts with “SPCS/”.

Data type: String

Length limitation: 1 ~ 255 bytes

Type limitation: Value consisting of only numbers can not be used.

Yes
StateReason

Reason for the alarm state has changed in the friendly human-readable text form.

Data type: String

Length limitation: 1 ~ 1203 bytes

Type limitation: Value consisting of only numbers can not be used.

Yes
StateReasonData

Reason for the alarm state has changed in the JSON format.

Data type: String

Length limitation: 0 ~ 4000 bytes

Type limitation: Value consisting of only numbers can not be used.

No
StateValue

State value.

Data type: String

Valid value: OK | ALARM | INSUFFICIENT_DATA

Yes

see also Common Query Parameters

Errors

Following is list of errors for this action.

Error Description HTTP Status Code
InvalidFormat Invalid JSON format data. 400
ResourceNotFound Alarm name that does not exist. 404

see also Common Errors

Table Of Contents

Previous topic

PutMetricData

Next topic

AlarmHistoryItem

This Page