Audio Alarm Agents

GET audio_alarm_notification_agents

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Returns a list of Audio Alarm Agents configuration data.

Resource URL

http://{host}/api/2.0/audio_alarm_notification_agents/.format

Example Request

GET 

http://192.168.0.203/api/2.0/audio_alarm_notification_agents/.json

 

[ { "AudioAlarmNotificationAgent": { "id": 1, "title": "_5s_", "ignore_acknowledged": 1, "modified": "1717765541753", "created": "1717765541753" } }, { "AudioAlarmNotificationAgent": { "id": 2, "title": "_60s_", "ignore_acknowledged": 1, "modified": "1717765541755", "created": "1717765541755" } } ]

 


 

GET audio_alarm_notification_agents/{id}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Returns a single specific Audio Alarm Agent configuration data.

Resource URL

http://{host}/api/2.0/audio_alarm_notification_agents/{id}/.format

Parameters

Parameter

Data Type

Description

id
(required)

integer

The ID of the desired Audio Alarm Agent to be viewed.

Example Request

GET 

http://192.168.0.203/api/2.0/audio_alarm_notification_agents/1/.json

 

{ "AudioAlarmNotificationAgent": { "id": 1, "title": "_5s_", "ignore_acknowledged": 1, "modified": "1717765541753", "created": "1717765541753" } }

 


 

POST audio_alarm_notification_agents

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

POST

Adds a new Audio Alarm Agent.

Resource URL

http://{host}/api/2.0/audio_alarm_notification_agents/.format

Example Request

POST 

http://192.168.0.203/api/2.0/audio_alarm_notification_agents/.json

 

{ "AudioAlarmNotificationAgent": { "is_for_display_only": "0", "alarm_duration": "0", "title": "allPerm_test" } }

 

 


 

POST audio_alarm_notification_agents/{id}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

POST

Duplicates a single specific Audio Alarm Agent into a new one, preserving all original data except the title.

Resource URL

http://{host}/api/2.0/audio_alarm_notification_agents/{id}/.format

Parameters

Parameter

Data Type

Description

Parameter

Data Type

Description

id
(required)

integer

The ID of the desired Audio Alarm Agent to be copied.

Example Request

POST

http://192.168.0.203/api/2.0/audio_alarm_notification_agents/14/.json

 

 

 


 

PUT audio_alarm_notification_agents/{id}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

PUT

Updates a single specific Audio Alarm Agent configuration.

Resource URL

http://{host}/api/2.0/audio_alarm_notification_agents/{id}/.format

Parameters

Parameter

Data Type

Description

id
(required)

integer

The ID of the desired Audio Alarm Agent to be updated.

Example Request

PUT 

http://192.168.0.203/api/2.0/audio_alarm_notification_agents/14/.json

 

 

 


 

DELETE audio_alarm_notification_agents/{id}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

DELETE

Deletes a single specific Audio Alarm Agent.

Resource URL

http://{host}/api/2.0/audio_alarm_notification_agents/{id}/.format

Parameters

Parameter

Data Type

Description

id
(required)

integer

The ID of the desired Audio Alarm Agent to be deleted.

Example Request

DELETE 

http://192.168.0.203/api/2.0/audio_alarm_notification_agents/1/.json