API:getClientTickets - Get client tickets

Get list of client's support tickets.

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=getClientTickets&id=ID

Response

   {
      "success": true,
      "tickets": [
         {
            "admin_read": "1",
            "id": "17",
            "type": "Admin",
            "firstname": "Test",
            "lastname": "Customer",
            "date": "2011-10-04 09:14:31",
            "lastreply": "13 minutes ago",
            "dept_id": "1",
            "name": "Test Customer",
            "client_id": "1",
            "status": "In-Progress",
            "ticket_number": "814003",
            "tsubject": "#814003 - Test support message",
            "deptname": "Support",
            "priority": "0",
            "notes": ""
         }
      ],
      "totalpages": 1,
      "call": "getClientTickets",
      "server_time": 1317713317
   }