View ticket details by its number.
GET http://url_to_your_hostbill.com/admin/api.php?api_id=API_ID&api_key=API_KEY&call=getTicketDetails&id=ID
{ "success": true, "ticket": { "id": "17", "date": "2011-10-04 09:14:31", "lastreply": "2011-10-04 09:14:48", "ticket_number": "814003", "acc_hash": "szpmn0", "dept_id": "1", "client_id": "1", "name": "Default User", "email": "[email protected]", "cc": "", "subject": "Test support message", "body": "Testing 123", "status": "In-Progress", "priority": "0", "admin_read": "1", "client_read": "0", "type": "Admin", "deptname": "Support", "viewtime": "2011-10-04 09:15:36" }, "replies": [ { "id": "23", "ticket_id": "17", "replier_id": "1", "name": "Default User", "email": "[email protected]", "date": "2011-10-04 09:14:48", "body": "Hello is popular reply....\r\n\r\n\r\n--my signature--", "status": "Sent", "type": "Admin" } ], "attachments": [ ], "notes": [ { "id": "1", "ticket_id": "17", "admin_id": "0", "name": "Name", "email": "", "date": "2011-10-05 23:44:01", "note": "Test note" }, { "id": "2", "ticket_id": "17", "admin_id": "0", "name": "Name", "email": "", "date": "2011-10-05 23:46:05", "note": "Test note 2" } ], "call": "getTicketDetails", "server_time": 1317712536 }