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": 70,
            "usageLimit": 70
        },
        "actions": [
          "alert"
        ],
        "actionableEntity": {
            "entityType": "projectHrn",
            "entityId": "hrn:here:authorization::org123456789:project/my-project-0000"
        },
        "timeRange": {
          "duration": "monthly"
        },
        "emailNotifications": [
          "example@here.com",
          "test@here.com"
        ],
        "created": "2021-07-13T08:56:00",
        "modified": "2021-07-13T08:56:00",
        "createdBy": "dhIQFVejQgPkTXLn8CtH",
        "updatedBy": "dhIQFVejQgPkTXLn8CtH"
    },
    "created": "2021-07-16T08:56:00",
    "modified": "2021-07-16T08:56:00",
    "createdBy": "dhIQFVejQgPkTXLn8CtH",
    "updatedBy": "dhIQFVejQgPkTXLn8CtH"
}

results matching ""

    No results matching ""