API:getClientDomains - Get client domains

Get list of client's domains.

Required parameters

id
Client ID

Optional parameters

page
Which page to return

Request

GET http://url_to_your_hostbill.com/admin/api.php?api_id=API_ID&api_key=API_KEY&call=getClientDomains&id=ID

Response

   {
      "success": true,
      "domains": [
         {
            "id": "10",
            "manual": "0",
            "name": "hbappreseller.co.uk",
            "lastname": "Blue",
            "firstname": "Mike",
            "cid": "6",
            "period": "2",
            "recurring_amount": "9.95",
            "currency_id": "0",
            "module": "NetEarthOne",
            "next_due": "2012-11-22",
            "expires": "0000-00-00",
            "status": "Pending",
            "type": "Register",
            "date_created": "0000-00-00",
            "autorenew": "1",
            "reglock": "0",
            "idprotection": "0"
         }
      ],
      "call": "getClientDomains",
      "server_time": 1323444637
   }