Alert Manager
This webhook is sent when an Alert Manager alert is triggered.
Payload
{
"NotificationType": "ALERT_MANAGER_USAGE",
"Content": {
"DefinitionId": 1,
"Msisdn": "077777777777",
"PercentageLimit": 90,
"PercentageUsed": 95,
"UsageType": "DataMb",
"UsageAllowance": 200,
"UsageAmount": 190,
"BundleSize": 200,
"BundleUsedMb": 190
}
}| Name | Type | Description |
|---|---|---|
NotificationType | string | The type of notification for this Webhook. |
Content.DefinitionId | int | The Id of the Definition of which this alert was triggered. |
Content.Msisdn | string | null | The msisdn of which this alert was triggered. This property is omitted on pooled rules. |
Content.PercentageLimit | int | The percentage limit for which the alert is triggered. This value is defined in the Rule. |
Content.PercentageUsed | int | The actual percentage of the allowance used. |
Content.UsageType | string | The type of usage. Values: DataMb, Minutes, Sms. |
Content.UsageAllowance | int | The usage allowance. Unit depends on UsageType: MB, minutes, or SMS count. |
Content.UsageAmount | int | The actual amount used. Unit depends on UsageType: MB, minutes, or SMS count. |
Content.BundleSize | int | Legacy field for backwards compatibility. For DataMb alerts, this is the same value as UsageAllowance. For Minutes and Sms alerts, this is 0. |
Content.BundleUsedMb | int | Legacy field for backwards compatibility. For DataMb alerts, this is the same value as UsageAmount. For Minutes and Sms alerts, this is 0. |