Child pages
  • WHM API 1 Functions - get_all_contact_importances
Skip to end of metadata
Go to start of metadata

Description

This function lists the importance of all application events in WHM's Contact Manager interface (Home >> Server Contacts >> Contact Manager).

Examples


 JSON API
https://hostname.example.com:2087/cpsess##########/json-api/get_all_contact_importances?api.version=1
 XML API
https://hostname.example.com:2087/cpsess##########/xml-api/get_all_contact_importances?api.version=1
 Command Line
whmapi1 get_all_contact_importances


Notes:

  • You must URI-encode values.
  • For more information and additional output options, read our Guide to WHM API 1 documentation or run the whmapi1 --help command.
  • If you run CloudLinux™, you must use the full path of the whmapi1 command:

    /usr/local/cpanel/bin/whmapi1

 Output (JSON)
{  
   "data":{  
      "importances":[  
         {  
            "app":"Accounts",
            "event":"*",
            "importance":"1",
            "name":"High"
         },
         {  
            "event":"*",
            "app":"AdminBin",
            "name":"High",
            "importance":"1"
         },
         {  
            "importance":"1",
            "name":"High",
            "event":"*",
            "app":"Application"
         },
         {  
            "importance":"1",
            "name":"High",
            "event":"*",
            "app":"Backup"
         },
         {  
            "importance":"1",
            "name":"High",
            "app":"Backup",
            "event":"Delayed"
         },
         {  
            "importance":"1",
            "name":"High",
            "event":"Disabled",
            "app":"Backup"
         },
         {  
            "importance":"1",
            "name":"High",
            "app":"Backup",
            "event":"Failure"
         },
         {  
            "app":"Backup",
            "event":"PreBackupNotice",
            "name":"High",
            "importance":"1"
         },
         {  
            "name":"High",
            "importance":"1",
            "event":"Success",
            "app":"Backup"
         },
         {  
            "app":"Backup",
            "event":"Transport",
            "name":"High",
            "importance":"1"
         },
         {  
            "importance":"1",
            "name":"High",
            "event":"*",
            "app":"BandwidthUsageExceeded"
         },
         {  
            "app":"ChangePassword",
            "event":"*",
            "name":"High",
            "importance":"1"
         },
         {  
            "event":"ResetRequest",
            "app":"ChangePassword",
            "importance":"1",
            "name":"High"
         },
         {  
            "app":"Check",
            "event":"*",
            "importance":"3",
            "name":"Low"
         },
         {  
            "app":"Check",
            "event":"Biglog",
            "importance":"1",
            "name":"High"
         },
         {  
            "name":"High",
            "importance":"1",
            "app":"Check",
            "event":"CpanelRPMs"
         },
         {  
            "name":"High",
            "importance":"1",
            "event":"EximConfig",
            "app":"Check"
         },
         {  
            "importance":"1",
            "name":"High",
            "app":"Check",
            "event":"Hack"
         },
         {  
            "name":"High",
            "importance":"1",
            "event":"HostnameOwnedByUser",
            "app":"Check"
         },
         {  
            "event":"IP",
            "app":"Check",
            "importance":"1",
            "name":"High"
         },
         {  
            "importance":"1",
            "name":"High",
            "app":"Check",
            "event":"ImmutableFiles"
         },
         {  
            "importance":"1",
            "name":"High",
            "event":"InvalidDomains",
            "app":"Check"
         },
         {  
            "app":"Check",
            "event":"MySQL",
            "importance":"1",
            "name":"High"
         },
         {  
            "event":"MysqlConnection",
            "app":"Check",
            "name":"High",
            "importance":"1"
         },
         {  
            "event":"Oops",
            "app":"Check",
            "name":"High",
            "importance":"1"
         },
         {  
            "importance":"1",
            "name":"High",
            "event":"PopBeforeSMTPEnabled",
            "app":"Check"
         },
         {  
            "name":"High",
            "importance":"1",
            "event":"Resolvers",
            "app":"Check"
         },
         {  
            "app":"Check",
            "event":"SSLCertExpired",
            "importance":"1",
            "name":"High"
         },
         {  
            "name":"High",
            "importance":"1",
            "app":"Check",
            "event":"SSLCertExpiresSoon"
         },
         {  
            "name":"High",
            "importance":"1",
            "app":"Check",
            "event":"SecurityAdvisorStateChange"
         },
         {  
            "app":"Check",
            "event":"Smart",
            "name":"High",
            "importance":"1"
         },
         {  
            "importance":"1",
            "name":"High",
            "app":"Check",
            "event":"UnmonitoredEnabledServices"
         },
         {  
            "name":"High",
            "importance":"1",
            "app":"Check",
            "event":"ValidServerHostname"
         },
         {  
            "event":"*",
            "app":"CloudLinux",
            "importance":"1",
            "name":"High"
         },
         {  
            "name":"High",
            "importance":"1",
            "app":"Config",
            "event":"*"
         },
         {  
            "importance":"1",
            "name":"High",
            "event":"*",
            "app":"ConvertAddon"
         },
         {  
            "name":"High",
            "importance":"1",
            "app":"DAV",
            "event":"ChangeHostname"
         },
         {  
            "name":"High",
            "importance":"1",
            "event":"*",
            "app":"DigestAuth"
         },
         {  
            "event":"*",
            "app":"DnsAdmin",
            "name":"Medium",
            "importance":"2"
         },
         {  
            "name":"High",
            "importance":"1",
            "app":"DnsAdmin",
            "event":"ClusterError"
         },
         {  
            "name":"High",
            "importance":"1",
            "event":"UnreachablePeer",
            "app":"DnsAdmin"
         },
         {  
            "name":"High",
            "importance":"1",
            "event":"*",
            "app":"EasyApache"
         },
         {  
            "importance":"1",
            "name":"High",
            "event":"*",
            "app":"Greylist"
         },
         {  
            "app":"Horde",
            "event":"*",
            "importance":"1",
            "name":"High"
         },
         {  
            "name":"Low",
            "importance":"3",
            "app":"ImportMyDNSdb",
            "event":"*"
         },
         {  
            "event":"Failure",
            "app":"ImportMyDNSdb",
            "name":"High",
            "importance":"1"
         },
         {  
            "app":"ImportMyDNSdb",
            "event":"InProgress",
            "name":"High",
            "importance":"1"
         },
         {  
            "app":"ImportMyDNSdb",
            "event":"Success",
            "name":"High",
            "importance":"1"
         },
         {  
            "app":"Install",
            "event":"*",
            "name":"Low",
            "importance":"3"
         },
         {  
            "app":"Install",
            "event":"ClamavConnector",
            "importance":"1",
            "name":"High"
         },
         {  
            "app":"Install",
            "event":"Horde",
            "name":"High",
            "importance":"1"
         },
         {  
            "name":"High",
            "importance":"1",
            "app":"Install",
            "event":"PackageExtension"
         },
         {  
            "event":"*",
            "app":"Logd",
            "name":"High",
            "importance":"1"
         },
         {  
            "name":"High",
            "importance":"1",
            "event":"*",
            "app":"Logger"
         },
         {  
            "event":"*",
            "app":"Market",
            "importance":"1",
            "name":"High"
         },
         {  
            "app":"NSD",
            "event":"*",
            "name":"High",
            "importance":"1"
         },
         {  
            "name":"High",
            "importance":"1",
            "app":"NSD",
            "event":"BadZones"
         },
         {  
            "event":"*",
            "app":"Notice",
            "importance":"1",
            "name":"High"
         },
         {  
            "name":"High",
            "importance":"1",
            "app":"OutdatedSoftware",
            "event":"Notify"
         },
         {  
            "importance":"1",
            "name":"High",
            "event":"CpuWatch",
            "app":"OverLoad"
         },
         {  
            "name":"High",
            "importance":"1",
            "app":"OverLoad",
            "event":"LogRunner"
         },
         {  
            "name":"High",
            "importance":"1",
            "app":"PaperLantern",
            "event":"UpdateUsers"
         },
         {  
            "name":"Low",
            "importance":"3",
            "event":"*",
            "app":"Quota"
         },
         {  
            "app":"Quota",
            "event":"DiskWarning",
            "importance":"1",
            "name":"High"
         },
         {  
            "app":"Quota",
            "event":"RebootRequired",
            "importance":"1",
            "name":"High"
         },
         {  
            "app":"Quota",
            "event":"SetupComplete",
            "importance":"1",
            "name":"High"
         },
         {  
            "event":"*",
            "app":"RPMVersions",
            "importance":"1",
            "name":"High"
         },
         {  
            "importance":"1",
            "name":"High",
            "event":"*",
            "app":"Stats"
         },
         {  
            "importance":"1",
            "name":"High",
            "event":"*",
            "app":"StuckScript"
         },
         {  
            "event":"UserDisable",
            "app":"TwoFactorAuth",
            "importance":"1",
            "name":"High"
         },
         {  
            "importance":"1",
            "name":"High",
            "event":"UserEnable",
            "app":"TwoFactorAuth"
         },
         {  
            "app":"Update",
            "event":"*",
            "importance":"1",
            "name":"High"
         },
         {  
            "app":"Update",
            "event":"Blocker",
            "importance":"1",
            "name":"High"
         },
         {  
            "event":"Now",
            "app":"Update",
            "importance":"1",
            "name":"High"
         },
         {  
            "name":"High",
            "importance":"1",
            "app":"Update",
            "event":"ServiceDeprecated"
         },
         {  
            "name":"High",
            "importance":"1",
            "event":"UpgradeRequired",
            "app":"Update"
         },
         {  
            "app":"appconfig",
            "event":"*",
            "name":"High",
            "importance":"1"
         },
         {  
            "importance":"1",
            "name":"High",
            "app":"biglogcheck",
            "event":"*"
         },
         {  
            "name":"High",
            "importance":"1",
            "app":"cPHulk",
            "event":"*"
         },
         {  
            "event":"BruteForce",
            "app":"cPHulk",
            "importance":"1",
            "name":"High"
         },
         {  
            "app":"cPHulk",
            "event":"Login",
            "name":"High",
            "importance":"1"
         },
         {  
            "event":"*",
            "app":"checkperlmodules",
            "importance":"0",
            "name":"Disabled"
         },
         {  
            "event":"*",
            "app":"chkservd",
            "importance":"1",
            "name":"High"
         },
         {  
            "app":"chkservd",
            "event":"DiskUsage",
            "importance":"1",
            "name":"High"
         },
         {  
            "name":"High",
            "importance":"1",
            "event":"Hang",
            "app":"chkservd"
         },
         {  
            "importance":"1",
            "name":"High",
            "event":"OOM",
            "app":"chkservd"
         },
         {  
            "app":"clamd",
            "event":"*",
            "importance":"1",
            "name":"High"
         },
         {  
            "name":"Disabled",
            "importance":"0",
            "app":"cpanel.config",
            "event":"*"
         },
         {  
            "event":"*",
            "app":"cpbackup",
            "name":"High",
            "importance":"1"
         },
         {  
            "importance":"1",
            "name":"High",
            "app":"cpbackupdisabled",
            "event":"*"
         },
         {  
            "name":"High",
            "importance":"1",
            "app":"dbindex",
            "event":"Warn"
         },
         {  
            "importance":"0",
            "name":"Disabled",
            "app":"disabledigest",
            "event":"*"
         },
         {  
            "app":"formmaillog",
            "event":"*",
            "name":"High",
            "importance":"1"
         },
         {  
            "importance":"0",
            "name":"Disabled",
            "app":"hackcheck",
            "event":"*"
         },
         {  
            "importance":"1",
            "name":"High",
            "app":"iContact",
            "event":"*"
         },
         {  
            "event":"*",
            "app":"icontact_sendim",
            "name":"High",
            "importance":"1"
         },
         {  
            "app":"installbandwidth",
            "event":"*",
            "name":"High",
            "importance":"1"
         },
         {  
            "app":"ipcheck",
            "event":"*",
            "importance":"0",
            "name":"Disabled"
         },
         {  
            "name":"Disabled",
            "importance":"0",
            "event":"*",
            "app":"kernelcheck"
         },
         {  
            "importance":"1",
            "name":"High",
            "event":"*",
            "app":"killacct"
         },
         {  
            "app":"mailconfigupdate",
            "event":"*",
            "name":"High",
            "importance":"1"
         },
         {  
            "event":"*",
            "app":"maildirupdate",
            "name":"High",
            "importance":"1"
         },
         {  
            "event":"*",
            "app":"migrate_branding",
            "name":"High",
            "importance":"1"
         },
         {  
            "event":"*",
            "app":"newmailcgi",
            "importance":"1",
            "name":"High"
         },
         {  
            "event":"*",
            "app":"oopscheck",
            "name":"Disabled",
            "importance":"0"
         },
         {  
            "name":"High",
            "importance":"1",
            "app":"parkadmin",
            "event":"*"
         },
         {  
            "app":"queueprocd",
            "event":"*",
            "name":"High",
            "importance":"1"
         },
         {  
            "app":"quotaadmin",
            "event":"*",
            "importance":"0",
            "name":"Disabled"
         },
         {  
            "importance":"0",
            "name":"Disabled",
            "app":"quotacheck",
            "event":"*"
         },
         {  
            "app":"rpm.versions",
            "event":"*",
            "name":"High",
            "importance":"1"
         },
         {  
            "event":"*",
            "app":"rpmcheck",
            "importance":"0",
            "name":"Disabled"
         },
         {  
            "name":"Disabled",
            "importance":"0",
            "event":"*",
            "app":"smartcheck"
         },
         {  
            "app":"suspendacct",
            "event":"*",
            "importance":"1",
            "name":"High"
         },
         {  
            "importance":"1",
            "name":"High",
            "app":"sysup",
            "event":"*"
         },
         {  
            "event":"*",
            "app":"unsuspendacct",
            "importance":"1",
            "name":"High"
         },
         {  
            "event":"*",
            "app":"upacct",
            "importance":"1",
            "name":"High"
         },
         {  
            "app":"upcp",
            "event":"*",
            "importance":"1",
            "name":"High"
         },
         {  
            "app":"wwwacct",
            "event":"*",
            "name":"High",
            "importance":"1"
         }
      ]
   },
   "metadata":{  
      "reason":"OK",
      "command":"get_all_contact_importances",
      "version":1,
      "result":1
   }
}
 Output (XML)
<result>
    <data>
        <importances>
            <name>High</name>
            <importance>1</importance>
            <event>*</event>
            <app>Accounts</app>
        </importances>
        <importances>
            <importance>1</importance>
            <app>AdminBin</app>
            <event>*</event>
            <name>High</name>
        </importances>
        <importances>
            <name>High</name>
            <importance>1</importance>
            <app>Application</app>
            <event>*</event>
        </importances>
        <importances>
            <importance>1</importance>
            <app>Backup</app>
            <event>*</event>
            <name>High</name>
        </importances>
        <importances>
            <importance>1</importance>
            <event>Delayed</event>
            <app>Backup</app>
            <name>High</name>
        </importances>
        <importances>
            <name>High</name>
            <app>Backup</app>
            <event>Disabled</event>
            <importance>1</importance>
        </importances>
        <importances>
            <name>High</name>
            <app>Backup</app>
            <event>Failure</event>
            <importance>1</importance>
        </importances>
        <importances>
            <name>High</name>
            <app>Backup</app>
            <event>PreBackupNotice</event>
            <importance>1</importance>
        </importances>
        <importances>
            <name>High</name>
            <event>Success</event>
            <app>Backup</app>
            <importance>1</importance>
        </importances>
        <importances>
            <app>Backup</app>
            <event>Transport</event>
            <importance>1</importance>
            <name>High</name>
        </importances>
        <importances>
            <importance>1</importance>
            <app>BandwidthUsageExceeded</app>
            <event>*</event>
            <name>High</name>
        </importances>
        <importances>
            <importance>1</importance>
            <app>ChangePassword</app>
            <event>*</event>
            <name>High</name>
        </importances>
        <importances>
            <app>ChangePassword</app>
            <event>ResetRequest</event>
            <importance>1</importance>
            <name>High</name>
        </importances>
        <importances>
            <name>Low</name>
            <importance>3</importance>
            <app>Check</app>
            <event>*</event>
        </importances>
        <importances>
            <name>High</name>
            <importance>1</importance>
            <event>Biglog</event>
            <app>Check</app>
        </importances>
        <importances>
            <importance>1</importance>
            <app>Check</app>
            <event>CpanelRPMs</event>
            <name>High</name>
        </importances>
        <importances>
            <name>High</name>
            <importance>1</importance>
            <event>EximConfig</event>
            <app>Check</app>
        </importances>
        <importances>
            <name>High</name>
            <importance>1</importance>
            <app>Check</app>
            <event>Hack</event>
        </importances>
        <importances>
            <app>Check</app>
            <event>HostnameOwnedByUser</event>
            <importance>1</importance>
            <name>High</name>
        </importances>
        <importances>
            <importance>1</importance>
            <event>IP</event>
            <app>Check</app>
            <name>High</name>
        </importances>
        <importances>
            <name>High</name>
            <event>ImmutableFiles</event>
            <app>Check</app>
            <importance>1</importance>
        </importances>
        <importances>
            <importance>1</importance>
            <event>InvalidDomains</event>
            <app>Check</app>
            <name>High</name>
        </importances>
        <importances>
            <importance>1</importance>
            <event>MySQL</event>
            <app>Check</app>
            <name>High</name>
        </importances>
        <importances>
            <name>High</name>
            <importance>1</importance>
            <event>MysqlConnection</event>
            <app>Check</app>
        </importances>
        <importances>
            <name>High</name>
            <app>Check</app>
            <event>Oops</event>
            <importance>1</importance>
        </importances>
        <importances>
            <importance>1</importance>
            <event>PopBeforeSMTPEnabled</event>
            <app>Check</app>
            <name>High</name>
        </importances>
        <importances>
            <importance>1</importance>
            <app>Check</app>
            <event>Resolvers</event>
            <name>High</name>
        </importances>
        <importances>
            <importance>1</importance>
            <app>Check</app>
            <event>SSLCertExpired</event>
            <name>High</name>
        </importances>
        <importances>
            <name>High</name>
            <app>Check</app>
            <event>SSLCertExpiresSoon</event>
            <importance>1</importance>
        </importances>
        <importances>
            <importance>1</importance>
            <event>SecurityAdvisorStateChange</event>
            <app>Check</app>
            <name>High</name>
        </importances>
        <importances>
            <app>Check</app>
            <event>Smart</event>
            <importance>1</importance>
            <name>High</name>
        </importances>
        <importances>
            <importance>1</importance>
            <app>Check</app>
            <event>UnmonitoredEnabledServices</event>
            <name>High</name>
        </importances>
        <importances>
            <name>High</name>
            <event>ValidServerHostname</event>
            <app>Check</app>
            <importance>1</importance>
        </importances>
        <importances>
            <importance>1</importance>
            <event>*</event>
            <app>CloudLinux</app>
            <name>High</name>
        </importances>
        <importances>
            <event>*</event>
            <app>Config</app>
            <importance>1</importance>
            <name>High</name>
        </importances>
        <importances>
            <name>High</name>
            <app>ConvertAddon</app>
            <event>*</event>
            <importance>1</importance>
        </importances>
        <importances>
            <app>DAV</app>
            <event>ChangeHostname</event>
            <importance>1</importance>
            <name>High</name>
        </importances>
        <importances>
            <name>High</name>
            <app>DigestAuth</app>
            <event>*</event>
            <importance>1</importance>
        </importances>
        <importances>
            <name>Medium</name>
            <importance>2</importance>
            <event>*</event>
            <app>DnsAdmin</app>
        </importances>
        <importances>
            <name>High</name>
            <app>DnsAdmin</app>
            <event>ClusterError</event>
            <importance>1</importance>
        </importances>
        <importances>
            <event>UnreachablePeer</event>
            <app>DnsAdmin</app>
            <importance>1</importance>
            <name>High</name>
        </importances>
        <importances>
            <name>High</name>
            <importance>1</importance>
            <event>*</event>
            <app>EasyApache</app>
        </importances>
        <importances>
            <name>High</name>
            <importance>1</importance>
            <app>Greylist</app>
            <event>*</event>
        </importances>
        <importances>
            <name>High</name>
            <event>*</event>
            <app>Horde</app>
            <importance>1</importance>
        </importances>
        <importances>
            <app>ImportMyDNSdb</app>
            <event>*</event>
            <importance>3</importance>
            <name>Low</name>
        </importances>
        <importances>
            <importance>1</importance>
            <app>ImportMyDNSdb</app>
            <event>Failure</event>
            <name>High</name>
        </importances>
        <importances>
            <app>ImportMyDNSdb</app>
            <event>InProgress</event>
            <importance>1</importance>
            <name>High</name>
        </importances>
        <importances>
            <name>High</name>
            <importance>1</importance>
            <app>ImportMyDNSdb</app>
            <event>Success</event>
        </importances>
        <importances>
            <importance>3</importance>
            <app>Install</app>
            <event>*</event>
            <name>Low</name>
        </importances>
        <importances>
            <importance>1</importance>
            <event>ClamavConnector</event>
            <app>Install</app>
            <name>High</name>
        </importances>
        <importances>
            <importance>1</importance>
            <event>Horde</event>
            <app>Install</app>
            <name>High</name>
        </importances>
        <importances>
            <event>PackageExtension</event>
            <app>Install</app>
            <importance>1</importance>
            <name>High</name>
        </importances>
        <importances>
            <event>*</event>
            <app>Logd</app>
            <importance>1</importance>
            <name>High</name>
        </importances>
        <importances>
            <name>High</name>
            <event>*</event>
            <app>Logger</app>
            <importance>1</importance>
        </importances>
        <importances>
            <name>High</name>
            <importance>1</importance>
            <event>*</event>
            <app>Market</app>
        </importances>
        <importances>
            <name>High</name>
            <app>NSD</app>
            <event>*</event>
            <importance>1</importance>
        </importances>
        <importances>
            <app>NSD</app>
            <event>BadZones</event>
            <importance>1</importance>
            <name>High</name>
        </importances>
        <importances>
            <name>High</name>
            <importance>1</importance>
            <app>Notice</app>
            <event>*</event>
        </importances>
        <importances>
            <name>High</name>
            <app>OutdatedSoftware</app>
            <event>Notify</event>
            <importance>1</importance>
        </importances>
        <importances>
            <app>OverLoad</app>
            <event>CpuWatch</event>
            <importance>1</importance>
            <name>High</name>
        </importances>
        <importances>
            <event>LogRunner</event>
            <app>OverLoad</app>
            <importance>1</importance>
            <name>High</name>
        </importances>
        <importances>
            <name>High</name>
            <importance>1</importance>
            <app>PaperLantern</app>
            <event>UpdateUsers</event>
        </importances>
        <importances>
            <importance>3</importance>
            <app>Quota</app>
            <event>*</event>
            <name>Low</name>
        </importances>
        <importances>
            <app>Quota</app>
            <event>DiskWarning</event>
            <importance>1</importance>
            <name>High</name>
        </importances>
        <importances>
            <importance>1</importance>
            <event>RebootRequired</event>
            <app>Quota</app>
            <name>High</name>
        </importances>
        <importances>
            <name>High</name>
            <importance>1</importance>
            <event>SetupComplete</event>
            <app>Quota</app>
        </importances>
        <importances>
            <importance>1</importance>
            <event>*</event>
            <app>RPMVersions</app>
            <name>High</name>
        </importances>
        <importances>
            <importance>1</importance>
            <event>*</event>
            <app>Stats</app>
            <name>High</name>
        </importances>
        <importances>
            <app>StuckScript</app>
            <event>*</event>
            <importance>1</importance>
            <name>High</name>
        </importances>
        <importances>
            <name>High</name>
            <importance>1</importance>
            <app>TwoFactorAuth</app>
            <event>UserDisable</event>
        </importances>
        <importances>
            <name>High</name>
            <importance>1</importance>
            <app>TwoFactorAuth</app>
            <event>UserEnable</event>
        </importances>
        <importances>
            <name>High</name>
            <event>*</event>
            <app>Update</app>
            <importance>1</importance>
        </importances>
        <importances>
            <app>Update</app>
            <event>Blocker</event>
            <importance>1</importance>
            <name>High</name>
        </importances>
        <importances>
            <event>Now</event>
            <app>Update</app>
            <importance>1</importance>
            <name>High</name>
        </importances>
        <importances>
            <name>High</name>
            <importance>1</importance>
            <event>ServiceDeprecated</event>
            <app>Update</app>
        </importances>
        <importances>
            <app>Update</app>
            <event>UpgradeRequired</event>
            <importance>1</importance>
            <name>High</name>
        </importances>
        <importances>
            <app>appconfig</app>
            <event>*</event>
            <importance>1</importance>
            <name>High</name>
        </importances>
        <importances>
            <name>High</name>
            <importance>1</importance>
            <event>*</event>
            <app>biglogcheck</app>
        </importances>
        <importances>
            <app>cPHulk</app>
            <event>*</event>
            <importance>1</importance>
            <name>High</name>
        </importances>
        <importances>
            <name>High</name>
            <importance>1</importance>
            <event>BruteForce</event>
            <app>cPHulk</app>
        </importances>
        <importances>
            <importance>1</importance>
            <app>cPHulk</app>
            <event>Login</event>
            <name>High</name>
        </importances>
        <importances>
            <name>Disabled</name>
            <app>checkperlmodules</app>
            <event>*</event>
            <importance>0</importance>
        </importances>
        <importances>
            <event>*</event>
            <app>chkservd</app>
            <importance>1</importance>
            <name>High</name>
        </importances>
        <importances>
            <app>chkservd</app>
            <event>DiskUsage</event>
            <importance>1</importance>
            <name>High</name>
        </importances>
        <importances>
            <name>High</name>
            <importance>1</importance>
            <app>chkservd</app>
            <event>Hang</event>
        </importances>
        <importances>
            <importance>1</importance>
            <app>chkservd</app>
            <event>OOM</event>
            <name>High</name>
        </importances>
        <importances>
            <importance>1</importance>
            <event>*</event>
            <app>clamd</app>
            <name>High</name>
        </importances>
        <importances>
            <importance>0</importance>
            <app>cpanel.config</app>
            <event>*</event>
            <name>Disabled</name>
        </importances>
        <importances>
            <name>High</name>
            <importance>1</importance>
            <event>*</event>
            <app>cpbackup</app>
        </importances>
        <importances>
            <name>High</name>
            <importance>1</importance>
            <event>*</event>
            <app>cpbackupdisabled</app>
        </importances>
        <importances>
            <name>High</name>
            <importance>1</importance>
            <event>Warn</event>
            <app>dbindex</app>
        </importances>
        <importances>
            <importance>0</importance>
            <event>*</event>
            <app>disabledigest</app>
            <name>Disabled</name>
        </importances>
        <importances>
            <importance>1</importance>
            <app>formmaillog</app>
            <event>*</event>
            <name>High</name>
        </importances>
        <importances>
            <event>*</event>
            <app>hackcheck</app>
            <importance>0</importance>
            <name>Disabled</name>
        </importances>
        <importances>
            <name>High</name>
            <importance>1</importance>
            <app>iContact</app>
            <event>*</event>
        </importances>
        <importances>
            <name>High</name>
            <importance>1</importance>
            <event>*</event>
            <app>icontact_sendim</app>
        </importances>
        <importances>
            <name>High</name>
            <app>installbandwidth</app>
            <event>*</event>
            <importance>1</importance>
        </importances>
        <importances>
            <importance>0</importance>
            <app>ipcheck</app>
            <event>*</event>
            <name>Disabled</name>
        </importances>
        <importances>
            <name>Disabled</name>
            <event>*</event>
            <app>kernelcheck</app>
            <importance>0</importance>
        </importances>
        <importances>
            <event>*</event>
            <app>killacct</app>
            <importance>1</importance>
            <name>High</name>
        </importances>
        <importances>
            <event>*</event>
            <app>mailconfigupdate</app>
            <importance>1</importance>
            <name>High</name>
        </importances>
        <importances>
            <name>High</name>
            <event>*</event>
            <app>maildirupdate</app>
            <importance>1</importance>
        </importances>
        <importances>
            <name>High</name>
            <importance>1</importance>
            <app>migrate_branding</app>
            <event>*</event>
        </importances>
        <importances>
            <importance>1</importance>
            <app>newmailcgi</app>
            <event>*</event>
            <name>High</name>
        </importances>
        <importances>
            <importance>0</importance>
            <app>oopscheck</app>
            <event>*</event>
            <name>Disabled</name>
        </importances>
        <importances>
            <name>High</name>
            <event>*</event>
            <app>parkadmin</app>
            <importance>1</importance>
        </importances>
        <importances>
            <importance>1</importance>
            <app>queueprocd</app>
            <event>*</event>
            <name>High</name>
        </importances>
        <importances>
            <importance>0</importance>
            <event>*</event>
            <app>quotaadmin</app>
            <name>Disabled</name>
        </importances>
        <importances>
            <importance>0</importance>
            <app>quotacheck</app>
            <event>*</event>
            <name>Disabled</name>
        </importances>
        <importances>
            <importance>1</importance>
            <app>rpm.versions</app>
            <event>*</event>
            <name>High</name>
        </importances>
        <importances>
            <name>Disabled</name>
            <importance>0</importance>
            <event>*</event>
            <app>rpmcheck</app>
        </importances>
        <importances>
            <app>smartcheck</app>
            <event>*</event>
            <importance>0</importance>
            <name>Disabled</name>
        </importances>
        <importances>
            <name>High</name>
            <app>suspendacct</app>
            <event>*</event>
            <importance>1</importance>
        </importances>
        <importances>
            <name>High</name>
            <app>sysup</app>
            <event>*</event>
            <importance>1</importance>
        </importances>
        <importances>
            <name>High</name>
            <app>unsuspendacct</app>
            <event>*</event>
            <importance>1</importance>
        </importances>
        <importances>
            <app>upacct</app>
            <event>*</event>
            <importance>1</importance>
            <name>High</name>
        </importances>
        <importances>
            <app>upcp</app>
            <event>*</event>
            <importance>1</importance>
            <name>High</name>
        </importances>
        <importances>
            <name>High</name>
            <importance>1</importance>
            <app>wwwacct</app>
            <event>*</event>
        </importances>
    </data>
    <metadata>
        <result>1</result>
        <command>get_all_contact_importances</command>
        <reason>OK</reason>
        <version>1</version>
    </metadata>
</result>


Note:

Use WHM's API Shell interface (WHM >> Home >> Development >> API Shell) to directly test WHM API calls.

     

Parameters

This function does not accept parameters.

Returns

Return

TypeDescriptionPossible valuesExample
importancearray of hashesAn array of hashes with event importance information.This array of hashes includes the app, event, name, and importance returns. 

app

string

The application's name.

The function returns this value in the importance hash.

A valid cPanel & WHM module name.. 
wwwacct

event

string

The event's name.

The function returns this value in the importance hash.

A valid event name in the module.

Note:

An asterisk character ( * ) represents all events in the module.

*

name

string

The text name of the contact event.

The function returns this value in the importance hash.

  • High
  • Medium
  • Low
  • Disabled
High

importance

integer

The importance of the contact event.

The function returns this value in the importance hash.

  • 1 — High.
  • 2Medium.
  • 3 — Low.
  • 0 — Disabled.
0