Return app's event contact importance setting

This function retrieves the importance level of an application event for WHM's Contact Manager interface (Home >> Server Contacts >> Contact Manager).

Note:

The system will create a notification setting for the application's events if one does not already exist.

SecurityBasicAuth
Request
query Parameters
app
required
string

The application module's name.

Example: app=Check
event
required
string

The event's name.

Example: event=SecurityAdvisorStateChange
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/get_application_contact_event_importance
Request samples
whmapi1 --output=jsonpretty \
  get_application_contact_event_importance \
  app='Check' \
  event='SecurityAdvisorStateChange'
Response samples
application/json
{
  • "data": {
    • "importance": 0,
    • "name": "Disabled"
    },
  • "metadata": {
    • "command": "get_application_contact_event_importance",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}