Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

OpenManage Enterprise Version 3.2 and OpenManage Enterprise - Modular Edition Version 1.00.10 RESTful API Guide

PDF

GET method for PolicyCriteria

This method returns the criteria that are used for matching the policy with incoming events.

Description
Returns the criteria used for matching the policy with incoming events.
Privilege
VIEW
HTTP response codes
200
Example
Input:

Output:
{
  "@odata.context": "$metadata#Collection(AlertService.PolicyCriterion)",
  "@odata.count": 1,
  "value": [
    {
      "@odata.id": "/api/AlertService/AlertPolicies(314)/PolicyCriteria(4)",
      "Id": 4,
      "PolicyId": 314,
      "Parameter": "",
      "Value": "(catalogName == 'iDRAC' AND categoryId==3300) AND (severityType==1 OR
        severityType==2 OR severityType==4 OR severityType==8 OR severityType==16)",
      "Type": 3,
      "TypeName": "EXPRESSION",
      "ComparisonType": 3,
      "ComparisonTypeName": "Equal"
    }
  ]
}
Table 1. AttributesThis table lists the attributes that this method supports.
Attribute nameDescription
Id ID of the criteria.
PolicyId ID of policy with which the criteria is associated.
Parameter Any extra parameter that can be used in the criteria.
Value Expression that is used during policy evaluation with events.
Type ID of the criteria type.
TypeName Name of the criteria type.
ComparisonType ID of comparison type.
ComparisonTypeName Name of comparison type.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\