Get a quota rule defined for your organization by quota rule ID

You can retrieve a specific quota rule for your organization by using a 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-9d9e247a-4c06-483c-9514-77c20ebf4beb",
    "hrn": "hrn:here-dev:quota::org123456789:CUSTOMER-QUOTA-9d9e247a-4c06-483c-9514-77c20ebf4beb",
    "name": "suspend rule for autosuggest",
    "description": "rule description",
    "status": "active",
    "queryConditions": [
        {
            "key": "featureId",
            "value": "hrn:here:service::olp-here:routing-8:base"
        }
    ],
    "usageThresholdCondition": {
        "thresholdType": "percentage",
        "threshold": 100,
        "usageLimit": 500
    },
    "actions": [
        "alert",
        "suspend"
    ],
    "timeRange": {
    "duration": "monthly"
    },
    "ruleType": "alert",
    "quotaReferenceId": "QUOTA-dd2fe6a9-075f-4be4-9721-e58de19b2ee7",
    "quotaRuleReferenceId": "QUOTA-RULE-f73559dd-2aee-4f09-b129-5c0d2472324a",
    "created": "2021-09-22T16:48:41",
    "modified": "2021-09-22T16:52:05",
    "createdBy": "system",
    "updatedBy": "system"
}

results matching ""

    No results matching ""