Get quota violation rule defined by quota rule ID

You can get a quota violation rule which was defined using the quota rule ID, as shown here.

Request

    GET https://quota.bam.api.here.com/v1/realms/org123456789/rules/CUSTOMER-QUOTA-db8ac3fb-f560-482c-a1e5-1626d503e4cd

Response: HTTP 200 OK

    {
      "ruleId": "CUSTOMER-QUOTA-db8ac3fb-f560-482c-a1e5-1626d503e4cd",
      "hrn": "hrn:here:quota::org123456789:CUSTOMER-QUOTA-db8ac3fb-f560-482c-a1e5-1626d503e4cd",
      "name": "Example rule",
      "description": "Alert on Log search IO threshold 10Gi.",
      "queryConditions": [
        {
          "key": "featureId",
          "value": "hrn:here:service::org123456789:search-autosuggest-7"
        },
        {
          "key": "appId",
          "value": "app1"
        }
      ],
      "usageThresholdCondition": {
        "thresholdType": "percentage",
        "threshold": 100,
        "usageLimit": 1000
      },
      "actionableEntity": {
        "entityId": "appId",
        "entityType": "app1"
      },
      "actions": [
        "alert",
        "suspend"
      ],
      "timeRange": {
        "duration": "monthly"
      },
      "emailNotifications": [
        "example@here.com",
        "test@here.com"
      ],
      "created": "2021-09-03T07:08:23Z",
      "modified": "2021-09-03T07:08:23Z",
      "createdBy": "dhIQFVejQgPkTXLn8CtH",
      "updatedBy": "dhIQFVejQgPkTXLn8CtH"
    }

results matching ""

    No results matching ""