This documentation supports an earlier version of BMC Helix Operations Management.

To view the documentation for the latest version, select 23.2 from the Product version picker.

Custom enumeration management endpoints in the REST API

The following section provides a list of supported endpoints and an overview about running these endpoints. Before you run an endpoint, you must authenticate yourself. For more information, see  Access and authentication for the REST API Open link

Custom enumerations for event slots

You can create, update, delete, and get details of custom enumeration (custom list of values) for event slots of the out-of-the-box event classes (except the Event base event class) and custom classes by running APIs.

POST /events/classes/enums

Important

Make sure that you specify the request body only in the English locale.

Request URL
 https://<BMC Helix Portal URL>/events-service/api/v1.0/events/classes/enums
Example request URL
 https://HostA.bmc.com/events-service/api/v1.0/events/classes/enums
Request Header
Content-Type: application/json
Authorization: Bearer <JWT_token>

For instructions about obtaining the JWT token, see Access and authentication for the REST API. Open link .

Parameter details

Parameter NameValue TypeLocated InMandatoryDescription
nameStringBodyYesUnique custom enumeration name.
enumelementsStringBodyYes

Comma-separated list of enumeration values in the following format:

[
  {
    "value": "<ENUM_VALUE_1>",
    "index": 0,
    "label": "<Enum label 1>"
  },
  {
    "value": "<ENUM_VALUE_2>",
    "index": 1,
    "label": "<Enum label 2>"
  },
  {
    "value": "<ENUM_VALUE_3>",
    "index": 2,
    "label": "<Enum label 3>"
  }
]

value (type: String) is the enum value that you want to include in the custom enumeration.

index (type: Integer) is a unique numeric value that represents the ordering of the enumeration values in a custom enumeration.
It is useful for numeric comparisons by using event operators. The index value need not be specified sequentially. The enumeration value associated with a lower index value is displayed first.

label (type: String) is a unique display value of the custom enumeration.

Important

The labels for the custom enumeration values are displayed on the user interface according to the UTF-8 standard.


Request body

{
  "name": "String",
  "enumelements": [
    {
      "value": "String",
      "index": "Number",
      "label": "String"
    },
    {
      "value": "String",
      "index": "Number",
      "label": "String"
    }
  ]
}

Example request body

{
  "name": "ROUTER_STATE",
  "enumelements": [
    {
      "value": "UP",
      "index": 0,
      "label": "Up"
    },
    {
      "value": "DOWN",
      "index": 1,
      "label": "Down"
    },
    {
      "value": "ADMIN_DOWN",
      "index": 2,
      "label": "Administratively Down"
    }
  ]
}


Successful response

{
  "object": [
    "87f7b4c2-ca21-11e9-a3ab-ff94b6651736"
  ]
}

Unsuccessful responses

Scenario 1: The index attribute of the enumelements parameter has a duplicate value.

[
  {
    "key": "400",
    "level": "ERROR",
    "message": "Enum index must be unique.",
    "additionalInfo": null
  }
]

Scenario 2: You specify an enumeration name that already exists.

[
  {
    "key": "ENUM_ALREADY_EXIST",
    "level": "ERROR",
    "message": "Failed to create enum element ROUTER_STATE, entry with same name already exists",
    "additionalInfo": null
  }
]

Back to top

PUT /events/classes/enums/<enum_name>

Important

Make sure that you specify the request body only in the English locale.

When you update an enumeration, you can add or remove values from the enumeration by sending the entire enumeration request payload with the required values. To learn more about the request payload, see Example request body.

This update will replace the existing enumeration definition similar to overwriting the changes in a file.

Request URL
https://<BMC Helix Portal URL>/events-service/api/v1.0/events/classes/enums/<enum_name>
Example request URL
 https://HostA.bmc.com/events-service/api/v1.0/events/classes/enums/ROUTER_STATE
Request Header
Content-Type: application/json
Authorization: Bearer <JWT_token>

For instructions about obtaining the JWT token, see Access and authentication for the REST API. Open link .

Parameter details

Parameter NameValue TypeLocated InMandatoryDescription
enumelementsStringBodyYes

Comma-separated list of enumeration values in the following format:

[
  {
    "value": "<ENUM_VALUE_1>",
    "index": 0,
    "label": "<Enum label 1>"
  },
  {
    "value": "<ENUM_VALUE_2>",
    "index": 1,
    "label": "<Enum label 2>"
  },
  {
    "value": "<ENUM_VALUE_3>",
    "index": 2,
    "label": "<Enum label 3>"
  }
]

value (type: String) is the enum value that you want to include in the custom enumeration.

index (type: Integer) is a unique numeric value associated to the enumeration value in a custom enumeration list.
It is useful for numeric comparisons by using event operators. The index value need not be specified sequentially. The enumeration value associated with a lower index value is displayed first.

label (type: String) is the display value of the custom enumeration.

Important

The labels for the custom enumeration values are displayed on the user interface according to the UTF-8 standard.

enum_name

StringPathYesName of the custom enumeration that you want to update.

Request body

{
  "enumelements": [
    {
      "value": "String",
      "index": "Number",
      "label": "String"
    },
    {
      "value": "String",
      "index": "Number",
      "label": "String"
    }
  ]
}

Example request body 

{
  "enumelements": [
    {
      "value": "UP",
      "index": 0,
      "label": "UP"
    },
    {
      "value": "DOWN",
      "index": 1,
      "label": "DOWN"
    },
    {
      "value": "ADMIN_DOWN",
      "index": 2,
      "label": "ADMINISTRATIVELY DOWN"
    }
  ]
}

Successful response

{
  "message": "After you run this endpoint, make sure that you update the event policies or the default slot value for event classes that are associated with the enumeration to bind the updated enumeration content.",
  "object": [
    "6f3b11b6-8d68-11ec-b179-35e5c89de09e"
  ]
}

Unsuccessful responses

Scenario 1: You specify an enumeration name that does not exist.

[
  {
    "key": "ENUM_NOT_EXIST",
    "level": "ERROR",
    "message": "Operation failed, given entry doesn't exist in database with name : 'ROUTER_STATE11'",
    "additionalInfo": null
  }
]

Scenario 2: You specify a default enumeration name.

[
  {
    "key": "ENUM_UPDATE_FAILED",
    "level": "ERROR",
    "message": "Operation failed, default enums can't be updated.",
    "additionalInfo": null
  }
]

Back to top

Important

After you run the update enumeration endpoint, make sure that you update the event policies or the default slot value for event classes that are associated with the enumeration to bind the updated enumeration content.

DELETE  /events/classes/enums/enum_name
Request URL
 https://<BMC Helix Portal URL>/events-service/api/v1.0/events/classes/enums/<enum_name>
Example request URL
https://HostA.bmc.com/events-service/api/v1.0/events/classes/enums/ROUTER_STATE
Request Header
Content-Type: application/json
Authorization: Bearer <JWT_token>

For instructions about obtaining the JWT token, see Access and authentication for the REST API. Open link .

Parameter details

Parameter NameValue TypeLocated InMandatoryDescription
enum_nameStringPathYesName of the custom enumeration that you want to delete.
Successful responses

{
  "object": [
    "e6e81be8-92e5-11ec-af69-5955f8303915"
  ]
}

Unsuccessful response

Scenario 1: You specify an enumeration name that does not exist.

[
  {
    "key": "ENUM_NOT_EXIST",
    "level": "ERROR",
    "message": "Operation failed, given entry doesn't exist in database with name : 'ROUTER_STATE_2'",
    "additionalInfo": null
  }
]

Scenario 2: You specify a default enumeration name.

[
  {
    "key": "Internal Server Error",
    "level": "ERROR",
    "message": "Operation failed, default enums can't be deleted.",
    "additionalInfo": null
  }
]

Back to top

GET  /events/classes/enums/<enum_name>
Request URL
 https://<BMC Helix Portal URL>/events-service/api/v1.0/events/classes/enums/<enum_name>
Example request URL
https://HostA.bmc.com/events-service/api/v1.0/events/classes/enums/<enum_name>
Request Header
Content-Type: application/json
Authorization: Bearer <JWT_token>

Parameter details (in the request URL)

Parameter NameValue TypeLocated InMandatoryDescription

enum_name

StringPathYesName of the custom enumeration that you want to retrieve.
Successful response

{
  "object": {
    "name": "Router state",
    "id": "68340ccd-9216-11ec-af69-81f0b939492d",
    "enumelements": [
      {
        "index": 0,
        "value": "UP",
        "label": "Up"
      },
      {
        "index": 1,
        "value": "DOWN",
        "label": "Down"
      },
      {
        "index": 2,
        "value": "ADMIN_DOWN",
        "label": "Administratively Down"
      }
    ]
  }
}

Unsuccessful response

Scenario: You specify an enumeration name that does not exist

[
  {
    "key": "Internal Server Error",
    "level": "ERROR",
    "message": "Operation failed, given entry doesn't exist in database  with name : 'status_ger2'",
    "additionalInfo": null
  }
]

Back to top

GET  /events/classes/enums

This endpoint returns all enumerations including custom and out-of-the-box enumerations.

Request URL
https://<BMC Helix Portal URL>/events-service/api/v1.0/events/classes/enums

|

Example URL
https://HostA.bmc.com/events-service/api/v1.0/events/classes/enums
Request Header
Content-Type: application/json
Authorization: Bearer <JWT_token>

For instructions about obtaining the JWT token, see Access and authentication for the REST API. Open link .

Successful response

{
  "enums": [
    {
      "name": "ROUTER_STATE",
      "id": "a792575e-9a1c-11ec-b4d0-397ef25fa1e2",
      "enumelements": [
        {
          "index": 0,
          "value": "UP",
          "label": "Up"
        },
        {
          "index": 2,
          "value": "DOWN",
          "label": "Down"
        },
        {
          "index": 3,
          "value": "ADMIN_DOWN",
          "label": "Administratively Down"
        }
      ]
    },
    {
      "name": "BOOLEAN",
      "id": "cd4f1a6f-bd66-4e7a-8d64-4cf812c1d0b5",
      "enumelements": [
        {
          "index": 10,
          "value": "FALSE",
          "label": "False"
        },
        {
          "index": 20,
          "value": "TRUE",
          "label": "True"
        }
      ]
    },
    {
      "name": "SEVERITY",
      "id": "b6c8923e-9dfc-11ec-a49f-53ff5e7ae032",
      "enumelements": [
        {
          "index": 0,
          "value": "CRITICAL",
          "label": "Critical"
        },
        {
          "index": 1,
          "value": "MAJOR",
          "label": "Major"
        },
        {
          "index": 2,
          "value": "MINOR",
          "label": "Minor"
        },
        {
          "index": 3,
          "value": "INFO",
          "label": "Info"
        },
        {
          "index": 4,
          "value": "OK",
          "label": "Ok"
        }
      ]
    },
    {
      "name": "STATUS",
      "id": "367f53c5-9e02-11ec-a49f-7105303239b9",
      "enumelements": [
        {
          "index": 1,
          "value": "OPEN",
          "label": "Open"
        },
        {
          "index": 4,
          "value": "ACK",
          "label": "Ack"
        },
        {
          "index": 0,
          "value": "ASSIGNED",
          "label": "Assigned"
        },
        {
          "index": 3,
          "value": "CLOSED",
          "label": "Closed"
        },
        {
          "index": 2,
          "value": "BLACKOUT",
          "label": "Blackout"
        }
      ]
    },
    {
      "name": "INCIDENT_TYPE",
      "id": "f527a341-dc48-4f94-bcb2-4a89e279fa4d",
      "enumelements": [
        {
          "index": 10,
          "value": "UNKNOWN",
          "label": "Unknown"
        },
        {
          "index": 20,
          "value": "CAUSAL",
          "label": "Casual"
        },
        {
          "index": 30,
          "value": "IMPACTED",
          "label": "Impacted"
        }
      ]
    },
    {
      "name": "PROCESS_STATES",
      "id": "12c3ff55-a9cc-11ec-8137-059f6792c06b",
      "enumelements": [
        {
          "index": 0,
          "value": "UNKNOWN",
          "label": "Unknown"
        },
        {
          "index": 10,
          "value": "STANDBY",
          "label": "StandBy"
        },
        {
          "index": 20,
          "value": "PAUSED",
          "label": "Paused"
        },
        {
          "index": 30,
          "value": "UNAVAILABLE",
          "label": "Unavailable"
        },
        {
          "index": 40,
          "value": "STARTED",
          "label": "Started"
        },
        {
          "index": 50,
          "value": "ACTIVE",
          "label": "Active"
        },
        {
          "index": 60,
          "value": "STOPPED",
          "label": "Stopped"
        }
      ]
    }
  ]
}

Back to top

GET  /events/classes?enum=<enum_name>
Request URL
https://<BMC Helix Portal URL>/events-service/api/v1.0/events/classes?enum=<enum_name>
Example URL
https://HostA.bmc.com/events-service/api/v1.0/events/classes?enum=ROUTER_STATE
Request Header
Content-Type: application/json
Authorization: Bearer <JWT_token>

For instructions about obtaining the JWT token, see .

Parameter details

Parameter NameValue TypeLocated InMandatoryDescription

enum_name

StringPathYesName of the custom enumeration for which you want to retrieve the associated event classes.

Successful response

{
  "responseTimeStamp": 1645527276886,
  "statusCode": "200",
  "statusMsg": "[Event Classes found successfully for specified tenant:1980396036]",
  "classList": [
    "CUST_CLASS_custom_enum",
    "CUST_CLASS_custom_enum_test"
  ],
  "eventClassList": [
    {
      "id": "9a2eb550-8d8d-11ec-bc69-d38c1aa6efab",
      "name": "CUST_CLASS_custom_enum",
      "parentClassName": "EVENT",
      "childClassNames": [],
      "allAttributes": [
        {
          "name": "pn_alarm_id",
          "dataType": "STRING",
          "default": "",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "dup_detect",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "pn_alias",
          "dataType": "STRING_LIST",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "pn_thresh_duration",
          "dataType": "INTEGER",
          "default": "0",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "dup_detect",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "pn_length",
          "dataType": "INTEGER",
          "default": "0",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "pn_origin",
          "dataType": "DATE",
          "default": "0",
          "allFacet": [
            {
              "name": "dup_detect",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "pn_status",
          "dataType": "STATUS",
          "default": "",
          "allFacet": [],
          "enumElements": [
            {
              "index": 0,
              "value": "OPEN",
              "label": "OPEN"
            },
            {
              "index": 10,
              "value": "ACK",
              "label": "ACK"
            },
            {
              "index": 20,
              "value": "ASSIGNED",
              "label": "ASSIGNED"
            },
            {
              "index": 30,
              "value": "CLOSED",
              "label": "CLOSED"
            },
            {
              "index": 40,
              "value": "BLACKOUT",
              "label": "BLACKOUT"
            }
          ],
          "enum": true
        },
        {
          "name": "pn_associations",
          "dataType": "STRING_LIST",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "pn_severity",
          "dataType": "SEVERITY",
          "default": "WARNING",
          "allFacet": [
            {
              "name": "mandatory",
              "value": "true"
            }
          ],
          "enumElements": [
            {
              "index": 10,
              "value": "UNKNOWN",
              "label": "UNKNOWN"
            },
            {
              "index": 20,
              "value": "OK",
              "label": "OK"
            },
            {
              "index": 30,
              "value": "INFO",
              "label": "INFO"
            },
            {
              "index": 40,
              "value": "WARNING",
              "label": "WARNING"
            },
            {
              "index": 50,
              "value": "MINOR",
              "label": "MINOR"
            },
            {
              "index": 60,
              "value": "MAJOR",
              "label": "MAJOR"
            },
            {
              "index": 70,
              "value": "CRITICAL",
              "label": "CRITICAL"
            }
          ],
          "enum": true
        },
        {
          "name": "pn_priority",
          "dataType": "PRIORITY",
          "default": "PRIORITY_5",
          "allFacet": [],
          "enumElements": [
            {
              "index": 10,
              "value": "PRIORITY_5",
              "label": "PRIORITY_5"
            },
            {
              "index": 20,
              "value": "PRIORITY_4",
              "label": "PRIORITY_4"
            },
            {
              "index": 30,
              "value": "PRIORITY_3",
              "label": "PRIORITY_3"
            },
            {
              "index": 40,
              "value": "PRIORITY_2",
              "label": "PRIORITY_2"
            },
            {
              "index": 50,
              "value": "PRIORITY_1",
              "label": "PRIORITY_1"
            }
          ],
          "enum": true
        },
        {
          "name": "ROUTER_STATE",
          "dataType": "ROUTER_STATE",
          "default": "",
          "allFacet": [],
          "enumElements": [
            {
              "index": 0,
              "value": "UP",
              "label": "Up"
            },
            {
              "index": 1,
              "value": "DOWN",
              "label": "Down"
            },
            {
              "index": 2,
              "value": "ADMIN_DOWN",
              "label": "Administratively Down"
            }
          ],
          "enum": true
        },
        {
          "name": "ADMIN_OS_CLASS",
          "dataType": "ADMIN_OS_CLASS",
          "default": "",
          "allFacet": [],
          "enumElements": [
            {
              "index": 0,
              "value": "UNKNOWN",
              "label": "Unknown"
            },
            {
              "index": 10,
              "value": "SOLARIS",
              "label": "Solaris"
            },
            {
              "index": 30,
              "value": "AIX",
              "label": "Aix Down"
            },
            {
              "index": 40,
              "value": "LINUX",
              "label": "Linux"
            },
            {
              "index": 50,
              "value": "HPUX",
              "label": "Hpux"
            },
            {
              "index": 60,
              "value": "'z/OS'",
              "label": "'z/OS'"
            }
          ],
          "enum": true
        },
        {
          "name": "_identifier",
          "dataType": "STRING",
          "default": "",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_arrival_time",
          "dataType": "DATE",
          "default": "0",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_modified_time",
          "dataType": "DATE",
          "default": "0",
          "allFacet": [
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_repeat_count",
          "dataType": "INTEGER",
          "default": "0",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_tenant_id",
          "dataType": "STRING",
          "default": "",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_tenant_name",
          "dataType": "STRING",
          "default": "",
          "allFacet": [
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_ci_id",
          "dataType": "STRING",
          "default": "",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_unmapped_data",
          "dataType": "OBJECT",
          "default": "[]",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_lifecycle_time",
          "dataType": "LONG",
          "default": "0",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_node_id",
          "dataType": "STRING_LIST",
          "default": "[]",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_service_id",
          "dataType": "STRING_LIST",
          "default": "[]",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_model",
          "dataType": "STRING",
          "default": "",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "class",
          "dataType": "STRING",
          "default": "EVENT",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "source_identifier",
          "dataType": "STRING",
          "default": "",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "mandatory",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "source_hostname",
          "dataType": "STRING",
          "default": "",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "topology_lookup",
              "value": "name,short_name"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "source_address",
          "dataType": "STRING",
          "default": "",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "source_port",
          "dataType": "INTEGER",
          "default": "0",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "location",
          "dataType": "STRING",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "msg",
          "dataType": "STRING",
          "default": "",
          "allFacet": [
            {
              "name": "mandatory",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "details",
          "dataType": "STRING",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "alias",
          "dataType": "STRING_LIST",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "creation_time",
          "dataType": "DATE",
          "default": "0",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "tags",
          "dataType": "STRING_LIST",
          "default": "[]",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "user_assigned",
          "dataType": "STRING",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "incident_id",
          "dataType": "STRING",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "incident_company",
          "dataType": "STRING",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "componentalias",
          "dataType": "STRING",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "cdmclass",
          "dataType": "STRING",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "modelname",
          "dataType": "STRING",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "instancename",
          "dataType": "STRING",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "status",
          "dataType": "STATUS",
          "default": "OPEN",
          "allFacet": [],
          "enumElements": [
            {
              "index": 0,
              "value": "OPEN",
              "label": "OPEN"
            },
            {
              "index": 10,
              "value": "ACK",
              "label": "ACK"
            },
            {
              "index": 20,
              "value": "ASSIGNED",
              "label": "ASSIGNED"
            },
            {
              "index": 30,
              "value": "CLOSED",
              "label": "CLOSED"
            },
            {
              "index": 40,
              "value": "BLACKOUT",
              "label": "BLACKOUT"
            }
          ],
          "enum": true
        },
        {
          "name": "severity",
          "dataType": "SEVERITY",
          "default": "MINOR",
          "allFacet": [],
          "enumElements": [
            {
              "index": 10,
              "value": "UNKNOWN",
              "label": "UNKNOWN"
            },
            {
              "index": 20,
              "value": "OK",
              "label": "OK"
            },
            {
              "index": 30,
              "value": "INFO",
              "label": "INFO"
            },
            {
              "index": 40,
              "value": "WARNING",
              "label": "WARNING"
            },
            {
              "index": 50,
              "value": "MINOR",
              "label": "MINOR"
            },
            {
              "index": 60,
              "value": "MAJOR",
              "label": "MAJOR"
            },
            {
              "index": 70,
              "value": "CRITICAL",
              "label": "CRITICAL"
            }
          ],
          "enum": true
        },
        {
          "name": "priority",
          "dataType": "PRIORITY",
          "default": "PRIORITY_5",
          "allFacet": [],
          "enumElements": [
            {
              "index": 10,
              "value": "PRIORITY_5",
              "label": "PRIORITY_5"
            },
            {
              "index": 20,
              "value": "PRIORITY_4",
              "label": "PRIORITY_4"
            },
            {
              "index": 30,
              "value": "PRIORITY_3",
              "label": "PRIORITY_3"
            },
            {
              "index": 40,
              "value": "PRIORITY_2",
              "label": "PRIORITY_2"
            },
            {
              "index": 50,
              "value": "PRIORITY_1",
              "label": "PRIORITY_1"
            }
          ],
          "enum": true
        },
        {
          "name": "category",
          "dataType": "CATEGORY",
          "default": "OPERATIONS_MANAGEMENT",
          "allFacet": [],
          "enumElements": [
            {
              "index": 0,
              "value": "",
              "label": ""
            },
            {
              "index": 100,
              "value": "SLA_MANAGEMENT",
              "label": "SLA_MANAGEMENT"
            },
            {
              "index": 110,
              "value": "CAPACITY_MANAGEMENT",
              "label": "CAPACITY_MANAGEMENT"
            },
            {
              "index": 120,
              "value": "SERVICE_CONTINUITY_MANAGEMENT",
              "label": "SERVICE_CONTINUITY_MANAGEMENT"
            },
            {
              "index": 130,
              "value": "AVAILABILITY_MANAGEMENT",
              "label": "AVAILABILITY_MANAGEMENT"
            },
            {
              "index": 140,
              "value": "INCIDENT_MANAGEMENT",
              "label": "INCIDENT_MANAGEMENT"
            },
            {
              "index": 150,
              "value": "CONFIGURATION_MANAGEMENT",
              "label": "CONFIGURATION_MANAGEMENT"
            },
            {
              "index": 160,
              "value": "RELEASE_MANAGEMENT",
              "label": "RELEASE_MANAGEMENT"
            },
            {
              "index": 170,
              "value": "PROBLEM_MANAGEMENT",
              "label": "PROBLEM_MANAGEMENT"
            },
            {
              "index": 180,
              "value": "CHANGE_MANAGEMENT",
              "label": "CHANGE_MANAGEMENT"
            },
            {
              "index": 190,
              "value": "OPERATIONS_MANAGEMENT",
              "label": "OPERATIONS_MANAGEMENT"
            },
            {
              "index": 200,
              "value": "SECURITY_MANAGEMENT",
              "label": "SECURITY_MANAGEMENT"
            },
            {
              "index": 210,
              "value": "FINANCIAL_MANAGEMENT",
              "label": "FINANCIAL_MANAGEMENT"
            },
            {
              "index": 220,
              "value": "SERVICE_DESK_MANAGEMENT",
              "label": "SERVICE_DESK_MANAGEMENT"
            }
          ],
          "enum": true
        },
        {
          "name": "sub_category",
          "dataType": "SUB_CATEGORY",
          "default": "OTHER",
          "allFacet": [],
          "enumElements": [
            {
              "index": 10,
              "value": "OTHER",
              "label": "OTHER"
            },
            {
              "index": 20,
              "value": "APPLICATION",
              "label": "APPLICATION"
            },
            {
              "index": 30,
              "value": "DATABASE",
              "label": "DATABASE"
            },
            {
              "index": 40,
              "value": "NETWORK",
              "label": "NETWORK"
            },
            {
              "index": 50,
              "value": "SYSTEM",
              "label": "SYSTEM"
            },
            {
              "index": 60,
              "value": "USER_TRANSACTIONS",
              "label": "USER_TRANSACTIONS"
            }
          ],
          "enum": true
        },
        {
          "name": "_errors",
          "dataType": "STRING_LIST",
          "default": "[]",
          "allFacet": [
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_relationships",
          "dataType": "OBJECT",
          "default": "[]",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_node_service_mapping",
          "dataType": "STRING_LIST",
          "default": "[]",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "significance",
          "dataType": "INTEGER",
          "default": "0",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_signature",
          "dataType": "STRING",
          "default": "",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_entropy",
          "dataType": "STRING",
          "default": "",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_node_service_key_mapping",
          "dataType": "STRING_LIST",
          "default": "[]",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        }
      ],
      "attributes": [
        {
          "name": "pn_alarm_id",
          "dataType": "STRING",
          "default": "",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "dup_detect",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "pn_alias",
          "dataType": "STRING_LIST",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "pn_thresh_duration",
          "dataType": "INTEGER",
          "default": "0",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "dup_detect",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "pn_length",
          "dataType": "INTEGER",
          "default": "0",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "pn_origin",
          "dataType": "DATE",
          "default": "0",
          "allFacet": [
            {
              "name": "dup_detect",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "pn_status",
          "dataType": "STATUS",
          "default": "",
          "allFacet": [],
          "enumElements": [
            {
              "index": 0,
              "value": "OPEN",
              "label": "OPEN"
            },
            {
              "index": 10,
              "value": "ACK",
              "label": "ACK"
            },
            {
              "index": 20,
              "value": "ASSIGNED",
              "label": "ASSIGNED"
            },
            {
              "index": 30,
              "value": "CLOSED",
              "label": "CLOSED"
            },
            {
              "index": 40,
              "value": "BLACKOUT",
              "label": "BLACKOUT"
            }
          ],
          "enum": true
        },
        {
          "name": "pn_associations",
          "dataType": "STRING_LIST",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "pn_severity",
          "dataType": "SEVERITY",
          "default": "WARNING",
          "allFacet": [
            {
              "name": "mandatory",
              "value": "true"
            }
          ],
          "enumElements": [
            {
              "index": 10,
              "value": "UNKNOWN",
              "label": "UNKNOWN"
            },
            {
              "index": 20,
              "value": "OK",
              "label": "OK"
            },
            {
              "index": 30,
              "value": "INFO",
              "label": "INFO"
            },
            {
              "index": 40,
              "value": "WARNING",
              "label": "WARNING"
            },
            {
              "index": 50,
              "value": "MINOR",
              "label": "MINOR"
            },
            {
              "index": 60,
              "value": "MAJOR",
              "label": "MAJOR"
            },
            {
              "index": 70,
              "value": "CRITICAL",
              "label": "CRITICAL"
            }
          ],
          "enum": true
        },
        {
          "name": "pn_priority",
          "dataType": "PRIORITY",
          "default": "PRIORITY_5",
          "allFacet": [],
          "enumElements": [
            {
              "index": 10,
              "value": "PRIORITY_5",
              "label": "PRIORITY_5"
            },
            {
              "index": 20,
              "value": "PRIORITY_4",
              "label": "PRIORITY_4"
            },
            {
              "index": 30,
              "value": "PRIORITY_3",
              "label": "PRIORITY_3"
            },
            {
              "index": 40,
              "value": "PRIORITY_2",
              "label": "PRIORITY_2"
            },
            {
              "index": 50,
              "value": "PRIORITY_1",
              "label": "PRIORITY_1"
            }
          ],
          "enum": true
        },
        {
          "name": "ROUTER_STATE",
          "dataType": "ROUTER_STATE",
          "default": "",
          "allFacet": [],
          "enumElements": [
            {
              "index": 0,
              "value": "UP",
              "label": "Up"
            },
            {
              "index": 1,
              "value": "DOWN",
              "label": "Down"
            },
            {
              "index": 2,
              "value": "ADMIN_DOWN",
              "label": "Administratively Down"
            }
          ],
          "enum": true
        },
        {
          "name": "ADMIN_OS_CLASS",
          "dataType": "ADMIN_OS_CLASS",
          "default": "",
          "allFacet": [],
          "enumElements": [
            {
              "index": 0,
              "value": "UNKNOWN",
              "label": "Unknown"
            },
            {
              "index": 10,
              "value": "SOLARIS",
              "label": "Solaris"
            },
            {
              "index": 30,
              "value": "AIX",
              "label": "Aix Down"
            },
            {
              "index": 40,
              "value": "LINUX",
              "label": "Linux"
            },
            {
              "index": 50,
              "value": "HPUX",
              "label": "Hpux"
            },
            {
              "index": 60,
              "value": "'z/OS'",
              "label": "'z/OS'"
            }
          ],
          "enum": true
        }
      ]
    },
    {
      "id": "37947a9d-8f3c-11ec-a73c-63332b274220",
      "name": "CUST_CLASS_custom_enum_test",
      "parentClassName": "EVENT",
      "childClassNames": [],
      "allAttributes": [
        {
          "name": "pn_alarm_id",
          "dataType": "STRING",
          "default": "",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "dup_detect",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "pn_alias",
          "dataType": "STRING_LIST",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "pn_thresh_duration",
          "dataType": "INTEGER",
          "default": "0",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "dup_detect",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "pn_length",
          "dataType": "INTEGER",
          "default": "0",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "pn_origin",
          "dataType": "DATE",
          "default": "0",
          "allFacet": [
            {
              "name": "dup_detect",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "pn_status",
          "dataType": "STATUS",
          "default": "",
          "allFacet": [],
          "enumElements": [
            {
              "index": 0,
              "value": "OPEN",
              "label": "OPEN"
            },
            {
              "index": 10,
              "value": "ACK",
              "label": "ACK"
            },
            {
              "index": 20,
              "value": "ASSIGNED",
              "label": "ASSIGNED"
            },
            {
              "index": 30,
              "value": "CLOSED",
              "label": "CLOSED"
            },
            {
              "index": 40,
              "value": "BLACKOUT",
              "label": "BLACKOUT"
            }
          ],
          "enum": true
        },
        {
          "name": "pn_associations",
          "dataType": "STRING_LIST",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "pn_severity",
          "dataType": "SEVERITY",
          "default": "WARNING",
          "allFacet": [
            {
              "name": "mandatory",
              "value": "true"
            }
          ],
          "enumElements": [
            {
              "index": 10,
              "value": "UNKNOWN",
              "label": "UNKNOWN"
            },
            {
              "index": 20,
              "value": "OK",
              "label": "OK"
            },
            {
              "index": 30,
              "value": "INFO",
              "label": "INFO"
            },
            {
              "index": 40,
              "value": "WARNING",
              "label": "WARNING"
            },
            {
              "index": 50,
              "value": "MINOR",
              "label": "MINOR"
            },
            {
              "index": 60,
              "value": "MAJOR",
              "label": "MAJOR"
            },
            {
              "index": 70,
              "value": "CRITICAL",
              "label": "CRITICAL"
            }
          ],
          "enum": true
        },
        {
          "name": "pn_priority",
          "dataType": "PRIORITY",
          "default": "PRIORITY_5",
          "allFacet": [],
          "enumElements": [
            {
              "index": 10,
              "value": "PRIORITY_5",
              "label": "PRIORITY_5"
            },
            {
              "index": 20,
              "value": "PRIORITY_4",
              "label": "PRIORITY_4"
            },
            {
              "index": 30,
              "value": "PRIORITY_3",
              "label": "PRIORITY_3"
            },
            {
              "index": 40,
              "value": "PRIORITY_2",
              "label": "PRIORITY_2"
            },
            {
              "index": 50,
              "value": "PRIORITY_1",
              "label": "PRIORITY_1"
            }
          ],
          "enum": true
        },
        {
          "name": "ROUTER_STATE",
          "dataType": "ROUTER_STATE",
          "default": "",
          "allFacet": [],
          "enumElements": [
            {
              "index": 0,
              "value": "UP",
              "label": "Up"
            },
            {
              "index": 1,
              "value": "DOWN",
              "label": "Down"
            },
            {
              "index": 2,
              "value": "ADMIN_DOWN",
              "label": "Administratively Down"
            }
          ],
          "enum": true
        },
        {
          "name": "_identifier",
          "dataType": "STRING",
          "default": "",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_arrival_time",
          "dataType": "DATE",
          "default": "0",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_modified_time",
          "dataType": "DATE",
          "default": "0",
          "allFacet": [
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_repeat_count",
          "dataType": "INTEGER",
          "default": "0",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_tenant_id",
          "dataType": "STRING",
          "default": "",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_tenant_name",
          "dataType": "STRING",
          "default": "",
          "allFacet": [
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_ci_id",
          "dataType": "STRING",
          "default": "",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_unmapped_data",
          "dataType": "OBJECT",
          "default": "[]",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_lifecycle_time",
          "dataType": "LONG",
          "default": "0",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_node_id",
          "dataType": "STRING_LIST",
          "default": "[]",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_service_id",
          "dataType": "STRING_LIST",
          "default": "[]",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_model",
          "dataType": "STRING",
          "default": "",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "class",
          "dataType": "STRING",
          "default": "EVENT",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "source_identifier",
          "dataType": "STRING",
          "default": "",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "mandatory",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "source_hostname",
          "dataType": "STRING",
          "default": "",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "topology_lookup",
              "value": "name,short_name"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "source_address",
          "dataType": "STRING",
          "default": "",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "source_port",
          "dataType": "INTEGER",
          "default": "0",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "location",
          "dataType": "STRING",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "msg",
          "dataType": "STRING",
          "default": "",
          "allFacet": [
            {
              "name": "mandatory",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "details",
          "dataType": "STRING",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "alias",
          "dataType": "STRING_LIST",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "creation_time",
          "dataType": "DATE",
          "default": "0",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "tags",
          "dataType": "STRING_LIST",
          "default": "[]",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "user_assigned",
          "dataType": "STRING",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "incident_id",
          "dataType": "STRING",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "incident_company",
          "dataType": "STRING",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "componentalias",
          "dataType": "STRING",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "cdmclass",
          "dataType": "STRING",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "modelname",
          "dataType": "STRING",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "instancename",
          "dataType": "STRING",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "status",
          "dataType": "STATUS",
          "default": "OPEN",
          "allFacet": [],
          "enumElements": [
            {
              "index": 0,
              "value": "OPEN",
              "label": "OPEN"
            },
            {
              "index": 10,
              "value": "ACK",
              "label": "ACK"
            },
            {
              "index": 20,
              "value": "ASSIGNED",
              "label": "ASSIGNED"
            },
            {
              "index": 30,
              "value": "CLOSED",
              "label": "CLOSED"
            },
            {
              "index": 40,
              "value": "BLACKOUT",
              "label": "BLACKOUT"
            }
          ],
          "enum": true
        },
        {
          "name": "severity",
          "dataType": "SEVERITY",
          "default": "MINOR",
          "allFacet": [],
          "enumElements": [
            {
              "index": 10,
              "value": "UNKNOWN",
              "label": "UNKNOWN"
            },
            {
              "index": 20,
              "value": "OK",
              "label": "OK"
            },
            {
              "index": 30,
              "value": "INFO",
              "label": "INFO"
            },
            {
              "index": 40,
              "value": "WARNING",
              "label": "WARNING"
            },
            {
              "index": 50,
              "value": "MINOR",
              "label": "MINOR"
            },
            {
              "index": 60,
              "value": "MAJOR",
              "label": "MAJOR"
            },
            {
              "index": 70,
              "value": "CRITICAL",
              "label": "CRITICAL"
            }
          ],
          "enum": true
        },
        {
          "name": "priority",
          "dataType": "PRIORITY",
          "default": "PRIORITY_5",
          "allFacet": [],
          "enumElements": [
            {
              "index": 10,
              "value": "PRIORITY_5",
              "label": "PRIORITY_5"
            },
            {
              "index": 20,
              "value": "PRIORITY_4",
              "label": "PRIORITY_4"
            },
            {
              "index": 30,
              "value": "PRIORITY_3",
              "label": "PRIORITY_3"
            },
            {
              "index": 40,
              "value": "PRIORITY_2",
              "label": "PRIORITY_2"
            },
            {
              "index": 50,
              "value": "PRIORITY_1",
              "label": "PRIORITY_1"
            }
          ],
          "enum": true
        },
        {
          "name": "category",
          "dataType": "CATEGORY",
          "default": "OPERATIONS_MANAGEMENT",
          "allFacet": [],
          "enumElements": [
            {
              "index": 0,
              "value": "",
              "label": ""
            },
            {
              "index": 100,
              "value": "SLA_MANAGEMENT",
              "label": "SLA_MANAGEMENT"
            },
            {
              "index": 110,
              "value": "CAPACITY_MANAGEMENT",
              "label": "CAPACITY_MANAGEMENT"
            },
            {
              "index": 120,
              "value": "SERVICE_CONTINUITY_MANAGEMENT",
              "label": "SERVICE_CONTINUITY_MANAGEMENT"
            },
            {
              "index": 130,
              "value": "AVAILABILITY_MANAGEMENT",
              "label": "AVAILABILITY_MANAGEMENT"
            },
            {
              "index": 140,
              "value": "INCIDENT_MANAGEMENT",
              "label": "INCIDENT_MANAGEMENT"
            },
            {
              "index": 150,
              "value": "CONFIGURATION_MANAGEMENT",
              "label": "CONFIGURATION_MANAGEMENT"
            },
            {
              "index": 160,
              "value": "RELEASE_MANAGEMENT",
              "label": "RELEASE_MANAGEMENT"
            },
            {
              "index": 170,
              "value": "PROBLEM_MANAGEMENT",
              "label": "PROBLEM_MANAGEMENT"
            },
            {
              "index": 180,
              "value": "CHANGE_MANAGEMENT",
              "label": "CHANGE_MANAGEMENT"
            },
            {
              "index": 190,
              "value": "OPERATIONS_MANAGEMENT",
              "label": "OPERATIONS_MANAGEMENT"
            },
            {
              "index": 200,
              "value": "SECURITY_MANAGEMENT",
              "label": "SECURITY_MANAGEMENT"
            },
            {
              "index": 210,
              "value": "FINANCIAL_MANAGEMENT",
              "label": "FINANCIAL_MANAGEMENT"
            },
            {
              "index": 220,
              "value": "SERVICE_DESK_MANAGEMENT",
              "label": "SERVICE_DESK_MANAGEMENT"
            }
          ],
          "enum": true
        },
        {
          "name": "sub_category",
          "dataType": "SUB_CATEGORY",
          "default": "OTHER",
          "allFacet": [],
          "enumElements": [
            {
              "index": 10,
              "value": "OTHER",
              "label": "OTHER"
            },
            {
              "index": 20,
              "value": "APPLICATION",
              "label": "APPLICATION"
            },
            {
              "index": 30,
              "value": "DATABASE",
              "label": "DATABASE"
            },
            {
              "index": 40,
              "value": "NETWORK",
              "label": "NETWORK"
            },
            {
              "index": 50,
              "value": "SYSTEM",
              "label": "SYSTEM"
            },
            {
              "index": 60,
              "value": "USER_TRANSACTIONS",
              "label": "USER_TRANSACTIONS"
            }
          ],
          "enum": true
        },
        {
          "name": "_errors",
          "dataType": "STRING_LIST",
          "default": "[]",
          "allFacet": [
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_relationships",
          "dataType": "OBJECT",
          "default": "[]",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_node_service_mapping",
          "dataType": "STRING_LIST",
          "default": "[]",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "significance",
          "dataType": "INTEGER",
          "default": "0",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_signature",
          "dataType": "STRING",
          "default": "",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_entropy",
          "dataType": "STRING",
          "default": "",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "_node_service_key_mapping",
          "dataType": "STRING_LIST",
          "default": "[]",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "internal",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        }
      ],
      "attributes": [
        {
          "name": "pn_alarm_id",
          "dataType": "STRING",
          "default": "",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "dup_detect",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "pn_alias",
          "dataType": "STRING_LIST",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "pn_thresh_duration",
          "dataType": "INTEGER",
          "default": "0",
          "allFacet": [
            {
              "name": "read_only",
              "value": "true"
            },
            {
              "name": "dup_detect",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "pn_length",
          "dataType": "INTEGER",
          "default": "0",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "pn_origin",
          "dataType": "DATE",
          "default": "0",
          "allFacet": [
            {
              "name": "dup_detect",
              "value": "true"
            }
          ],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "pn_status",
          "dataType": "STATUS",
          "default": "",
          "allFacet": [],
          "enumElements": [
            {
              "index": 0,
              "value": "OPEN",
              "label": "OPEN"
            },
            {
              "index": 10,
              "value": "ACK",
              "label": "ACK"
            },
            {
              "index": 20,
              "value": "ASSIGNED",
              "label": "ASSIGNED"
            },
            {
              "index": 30,
              "value": "CLOSED",
              "label": "CLOSED"
            },
            {
              "index": 40,
              "value": "BLACKOUT",
              "label": "BLACKOUT"
            }
          ],
          "enum": true
        },
        {
          "name": "pn_associations",
          "dataType": "STRING_LIST",
          "default": "",
          "allFacet": [],
          "enumElements": [],
          "enum": false
        },
        {
          "name": "pn_severity",
          "dataType": "SEVERITY",
          "default": "WARNING",
          "allFacet": [
            {
              "name": "mandatory",
              "value": "true"
            }
          ],
          "enumElements": [
            {
              "index": 10,
              "value": "UNKNOWN",
              "label": "UNKNOWN"
            },
            {
              "index": 20,
              "value": "OK",
              "label": "OK"
            },
            {
              "index": 30,
              "value": "INFO",
              "label": "INFO"
            },
            {
              "index": 40,
              "value": "WARNING",
              "label": "WARNING"
            },
            {
              "index": 50,
              "value": "MINOR",
              "label": "MINOR"
            },
            {
              "index": 60,
              "value": "MAJOR",
              "label": "MAJOR"
            },
            {
              "index": 70,
              "value": "CRITICAL",
              "label": "CRITICAL"
            }
          ],
          "enum": true
        },
        {
          "name": "pn_priority",
          "dataType": "PRIORITY",
          "default": "PRIORITY_5",
          "allFacet": [],
          "enumElements": [
            {
              "index": 10,
              "value": "PRIORITY_5",
              "label": "PRIORITY_5"
            },
            {
              "index": 20,
              "value": "PRIORITY_4",
              "label": "PRIORITY_4"
            },
            {
              "index": 30,
              "value": "PRIORITY_3",
              "label": "PRIORITY_3"
            },
            {
              "index": 40,
              "value": "PRIORITY_2",
              "label": "PRIORITY_2"
            },
            {
              "index": 50,
              "value": "PRIORITY_1",
              "label": "PRIORITY_1"
            }
          ],
          "enum": true
        },
        {
          "name": "ROUTER_STATE",
          "dataType": "ROUTER_STATE",
          "default": "",
          "allFacet": [],
          "enumElements": [
            {
              "index": 0,
              "value": "UP",
              "label": "Up"
            },
            {
              "index": 1,
              "value": "DOWN",
              "label": "Down"
            },
            {
              "index": 2,
              "value": "ADMIN_DOWN",
              "label": "Administratively Down"
            }
          ],
          "enum": true
        }
      ]
    }
  ]
}

Unsuccessful response

Scenario: You specify an enum name that is not associated with an event class

{
  "responseTimeStamp": 1645526406103,
  "statusCode": "200",
  "statusMsg": "[No Event Class associated with enum 'sev']",
  "classList": [],
  "eventClassList": []
}

Back to top

Was this page helpful? Yes No Submitting... Thank you

Comments