API:addFieldsToTicket - Add Field values to ticket

Requires Support Fields plugin to be added and active in HostBill. This call adds ticket field values to a ticket. Fields has to be assigned to department first in supportfields plugin

Required parameters

ticket_id
Ticket number (6 digits) to add fields values to
fields
Array of fields to add, like fields[Field Name A]=value1. You can define multiple fields to add.

Request

GET http://url_to_your_hostbill.com/admin/api.php?token=:TOKEN&call=addFieldsToTicket&ticket_id=:TICKET_ID&fields=:FIELDS

Response

   {
      "success": true,
      "call": "addFieldsToTicket",
      "server_time": 1498217478,
      "info": [
         "Module (SupportFields): Fields added to ticket"
      ]
   }