API:addTicket - Create ticket

Opens new support ticket

Required parameters

name
Name of client to open ticket for
subject
Ticket subject
body
Ticket message
email
Email address of person opening ticket

Optional parameters

client_id
Existing client ID, if used NAME and EMAIL can be omitted
dept_id
Department ID

Request

GET http://url_to_your_hostbill.com/admin/api.php?api_id=API_ID&api_key=API_KEY&call=addTicket&name=NAME&subject=SUBJECT&body=BODY&email=EMAIL

Response

   {
      "success": true,
      "ticket_id": 719510,
      "call": "addTicket",
      "server_time": 1323791096,
      "info": [
         "New ticket has been created"
      ]
   }