Event Rule Set (Thresholds)

 

GET event_rule_sets/meta

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Returns a list meta data for Event Rule Sets configuration.

Resource URL

http://{host}/api/2.0/event_rule_sets/meta/.format

Example Request

GET 

  1. http://44.235.52.211/api/2.0/event_rule_sets/meta/.json

 

 


 

GET event_rule_sets

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Returns a list of all Event Rule Sets configuration data.

Resource URL

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

Example Request

GET 

  1. http://44.235.52.211/api/2.0/event_rule_sets/.json

 

 


 

GET event_rule_sets/{id}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

GET

Returns a detailed single specific Event Rule Set configuration data.

Resource URL

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

Parameters

Parameter

Data Type

Description

id
(required)

integer

The ID if the desired Event Rule Set to be viewed.

Example Request

GET 

  1. http://44.235.52.211/api/2.0/event_rule_sets/4/.json

{ "EventRuleSet": { "id": 4, "title": "test_threshold", "modified": "1719304104165", "created": "1718877764819", "EventRuleSetEntry": [ { "id": 513, "event_rule_id": 20, "threshold": 100, "event_severity_id": 2, "is_record_enabled": 0 }, { "id": 514, "event_rule_id": 21, "threshold": 600, "event_severity_id": 1, "is_record_enabled": 0 }, { "id": 515, "event_rule_id": 25, "threshold": 1, "event_severity_id": 3, "is_record_enabled": 0 }, { "id": 516, "event_rule_id": 44, "threshold": 20000, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 517, "event_rule_id": 46, "threshold": 1, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 518, "event_rule_id": 62, "threshold": 20000, "event_severity_id": 1, "is_record_enabled": 0 }, { "id": 519, "event_rule_id": 63, "threshold": 60000, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 520, "event_rule_id": 64, "threshold": 1, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 521, "event_rule_id": 65, "threshold": 1, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 522, "event_rule_id": 73, "threshold": -1, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 523, "event_rule_id": 74, "threshold": -1, "event_severity_id": 2, "is_record_enabled": 0 }, { "id": 524, "event_rule_id": 84, "threshold": 5, "event_severity_id": 3, "is_record_enabled": 0 }, { "id": 525, "event_rule_id": 85, "threshold": 5, "event_severity_id": 3, "is_record_enabled": 0 }, { "id": 526, "event_rule_id": 86, "threshold": 10, "event_severity_id": 3, "is_record_enabled": 0 }, { "id": 527, "event_rule_id": 87, "threshold": 10, "event_severity_id": 3, "is_record_enabled": 0 }, { "id": 528, "event_rule_id": 88, "threshold": 25, "event_severity_id": 3, "is_record_enabled": 0 }, { "id": 529, "event_rule_id": 89, "threshold": 25, "event_severity_id": 3, "is_record_enabled": 0 }, { "id": 530, "event_rule_id": 90, "threshold": 25, "event_severity_id": 3, "is_record_enabled": 0 }, { "id": 531, "event_rule_id": 91, "threshold": 25, "event_severity_id": 3, "is_record_enabled": 0 }, { "id": 532, "event_rule_id": 92, "threshold": 1, "event_severity_id": 1, "is_record_enabled": 0 }, { "id": 533, "event_rule_id": 105, "threshold": 25, "event_severity_id": 2, "is_record_enabled": 0 }, { "id": 534, "event_rule_id": 106, "threshold": 15, "event_severity_id": 2, "is_record_enabled": 0 }, { "id": 535, "event_rule_id": 107, "threshold": 120000, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 536, "event_rule_id": 109, "threshold": 3, "event_severity_id": 2, "is_record_enabled": 0 }, { "id": 537, "event_rule_id": 119, "threshold": 1, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 538, "event_rule_id": 128, "threshold": 0, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 539, "event_rule_id": 135, "threshold": 1, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 540, "event_rule_id": 136, "threshold": 10000, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 541, "event_rule_id": 143, "threshold": 180, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 542, "event_rule_id": 172, "threshold": 50, "event_severity_id": 6, "is_record_enabled": 0 }, { "id": 543, "event_rule_id": 173, "threshold": 50, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 544, "event_rule_id": 179, "threshold": 1, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 545, "event_rule_id": 180, "threshold": 12, "event_severity_id": 1, "is_record_enabled": 0 }, { "id": 546, "event_rule_id": 183, "threshold": 2000, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 547, "event_rule_id": 210, "threshold": 5, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 548, "event_rule_id": 211, "threshold": -50, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 549, "event_rule_id": 300, "threshold": 10, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 550, "event_rule_id": 301, "threshold": 1, "event_severity_id": 2, "is_record_enabled": 0 }, { "id": 551, "event_rule_id": 302, "threshold": 1, "event_severity_id": 2, "is_record_enabled": 0 }, { "id": 552, "event_rule_id": 340, "threshold": -3, "event_severity_id": 2, "is_record_enabled": 0 }, { "id": 553, "event_rule_id": 351, "threshold": 1, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 554, "event_rule_id": 361, "threshold": 1, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 555, "event_rule_id": 362, "threshold": 1, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 556, "event_rule_id": 370, "threshold": 1, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 557, "event_rule_id": 374, "threshold": 30000, "event_severity_id": 2, "is_record_enabled": 0 }, { "id": 558, "event_rule_id": 376, "threshold": 1, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 559, "event_rule_id": 377, "threshold": 1, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 560, "event_rule_id": 391, "threshold": 1, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 561, "event_rule_id": 392, "threshold": 1, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 562, "event_rule_id": 394, "threshold": 1, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 563, "event_rule_id": 435, "threshold": 1, "event_severity_id": 1, "is_record_enabled": 0 }, { "id": 564, "event_rule_id": 437, "threshold": 1, "event_severity_id": 1, "is_record_enabled": 0 }, { "id": 565, "event_rule_id": 438, "threshold": 1, "event_severity_id": 1, "is_record_enabled": 0 }, { "id": 566, "event_rule_id": 440, "threshold": 1, "event_severity_id": 3, "is_record_enabled": 0 }, { "id": 567, "event_rule_id": 528, "threshold": 1, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 568, "event_rule_id": 529, "threshold": 1, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 569, "event_rule_id": 530, "threshold": 1, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 570, "event_rule_id": 531, "threshold": 1, "event_severity_id": 8, "is_record_enabled": 0 }, { "id": 571, "event_rule_id": 532, "threshold": 1, "event_severity_id": 1, "is_record_enabled": 0 }, { "id": 572, "event_rule_id": 534, "threshold": 1, "event_severity_id": 1, "is_record_enabled": 0 }, { "id": 573, "event_rule_id": 535, "threshold": 1, "event_severity_id": 1, "is_record_enabled": 0 }, { "id": 574, "event_rule_id": 536, "threshold": 5000, "event_severity_id": 8, "is_record_enabled": 0 } ] } }

 


 

POST event_rule_sets

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

POST

Adds a new Event Rule Set.

Resource URL

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

Example Request

POST 

  1. http://44.235.52.211/api/2.0/event_rule_sets/.json

{ "EventRuleSet": { "title": "EventRuleSet_NEW", "EventRuleSetEntry": [ { "event_rule_id": "98", "threshold": "2", "event_severity_id": "8", "is_record_enabled": "0" } ] } }
{ "EventRuleSet": { "id": 3, "title": "EventRuleSet_NEW", "modified": "1619435943662", "created": "1619435943660", "EventRuleSetEntry": [ { "id": 382, "event_rule_id": 98, "threshold": 2, "event_severity_id": 8, "is_record_enabled": 0 } ] } }

 


 

POST event_rule_sets/{id}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

POST

Duplicates a single specific Event Rule Set into a new one, preserving all configuration except the title.

Resource URL

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

Parameters

Parameter

Data Type

Description

id
(required)

integer

The ID if the desired Event Rule Set to be copied.

Example Request

POST 

  1. http://44.235.52.211/api/2.0/event_rule_sets/3/.json

 


 

PUT event_rule_sets/{id}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

PUT

Updates a sngle specific Event Rule Set.

Resource URL

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

Parameters

Parameter

Data Type

Description

id
(required)

integer

The ID if the desired Event Rule Set to be updated.

Example Request

PUT 

  1. http://44.235.52.211/api/2.0/event_rule_sets/3/.json

 


 

DELETE event_rule_sets/{id}

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

DELETE

Deletes a single specific Event Rule Set.

Resource URL

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

Parameters

Parameter

Data Type

Description

id
(required)

integer

The ID if the desired Event Rule Set to be deleted.

Example Request

DELETE 

  1. http://44.235.52.211/api/2.0/event_rule_sets/3/.json