Get a quota violation for your organization by ID

You can retrieve a specific quota violation in your organization, as shown here.

Request

    GET https://quota.bam.api.here.com/v1/realm/org123456789/violations/QUOTA-VIOLATION-1152a465-7b67-33ac-883f-23310891a102

Response: HTTP 200 OK

{
    "violationId": "QUOTA-VIOLATION-1152a465-7b67-33ac-883f-23310891a102",
    "violationDateTime": "2021-07-16T08:56:00",
    "startTime": "2021-07-13T08:56:00",
    "endTime": "2021-08-31T08:00:00",
    "usageDateTime": "2021-07-15T15:56:00",
    "actualUsage": 80,
    "threshold": 70,
    "ruleId": "CUSTOMER-QUOTA-a303b771-4176-44bd-84f1-7bca57338a09",
    "rule": {
    "ruleId": "CUSTOMER-QUOTA-a303b771-4176-44bd-84f1-7bca57338a09",
    "hrn": "hrn:here:quota::org123456789:CUSTOMER-QUOTA-a303b771-4176-44bd-84f1-7bca57338a09",
    "name": "Example rule",
    "description": "Alert on Log search IO threshold 10Gi.",
    "status": "active",
    "queryConditions": [
        {
            "key": "featureId",
            "value": "hrn:here:portal::org123456789:logs"
        }
        ],
    "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"
},
    "created": "2021-07-16T08:56:00",
    "modified": "2021-07-16T08:56:00",
    "createdBy": "dhIQFVejQgPkTXLn8CtH",
    "updatedBy": "dhIQFVejQgPkTXLn8CtH"
}

results matching ""

    No results matching ""