API:getAppServers - Get Apps:Servers list

Get list of servers defined under App (i.e.: Settings->Apps->cPanel)

Required parameters

group
Apps group ID

Request

GET http://url_to_your_hostbill.com/admin/api.php?api_id=API_ID&api_key=API_KEY&call=getAppServers&group=GROUP

Response

   {
      "success": true,
      "servers": [
         {
            "id": "2",
            "name": "cPanel",
            "host": "",
            "ip": "127.0.0.1",
            "max_accounts": "0",
            "accounts": "4",
            "module": "Cpanel",
            "type": "Hosting",
            "default": "1"
         }
      ],
      "call": "getAppServers",
      "server_time": 1317712765
   }