API:getAddonDetails - Get addon details

Return addon details

Required parameters

id
Addon ID

Request

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

Response

   {
      "success": true,
      "addon": {
         "id": "7",
         "products": [
            "",
            "16"
         ],
         "name": "OnApp: Extra Memory",
         "description": "Allows to order additional memory.",
         "visible": "1",
         "unique": "0",
         "taxable": "0",
         "system": "1",
         "hidden": "0",
         "autosetup": "0",
         "sort_order": "-6",
         "rel": "Addon",
         "paytype": "Regular",
         "m_setup": "0.00",
         "q_setup": "0.00",
         "s_setup": "0.00",
         "a_setup": "0.00",
         "b_setup": "0.00",
         "t_setup": "0.00",
         "p4_setup": "0.00",
         "p5_setup": "0.00",
         "d_setup": "0.00",
         "w_setup": "0.00",
         "h_setup": "0.00",
         "m": "5.00",
         "q": "20.00",
         "s": "0.00",
         "a": "50.00",
         "b": "0.00",
         "t": "0.00",
         "p4": "0.00",
         "p5": "0.00",
         "d": "0.00",
         "w": "0.00",
         "h": "0.00",
         "tag_name": "OnApp: Extra Memory",
         "tag_description": "Allows to order additional memory.",
         "module": "class.onapp_memory.php",
         "parentmod": "class.onapp.php",
         "options": null,
         "features": [
            ""
         ],
         "emails": {
            "AddonActivation": "0",
            "AddonUnsuspension": "0",
            "SuspendAddon": "0",
            "TerminateAddon": "0"
         },
         "cron": false,
         "modulename": "OnApp: Extra Memory",
         "moduledescription": "Allows to order additional memory."
      },
      "call": "getAddonDetails",
      "server_time": 1323446045
   }