• Online Demo
  • 30-day Free Trial

A * denotes a required field.

importTicket (&$ticket) – Import a Trouble Ticket.

Input:

  1. Array (
  2.     *[id] => 100
  3.     [uid] => 1000
  4.     [closed] => 0000-00-00 00:00:00
  5.     [priority] => 1
  6.     [area] => Billing
  7.     [ltickets] => Array (
  8.                     [0] => Array (
  9.                             [uid] => 1000
  10.                             [aid] => 0
  11.                             [updated] => 2008-01-01 12:59:59
  12.                             [body] => Hi, just updating this ticket.
  13.                             )
  14.                     )
  15. )

Returns: NULL

Definition:

  • [id] – ID of the ticket.
  • [uid] – Client ID this ticket is for.
  • [closed] – Date/time this ticket was closed.
  • [priority] – Priority of this ticket (0 – high, 1 – medium, 2 – low)
  • [area] – The subject of this ticket.
  • [ltickets] – Array of responses for this ticket.
  • [ltickets][i][uid] – Client ID that updated this ticket, else 0 if not updated by client.
  • [ltickets][i][aid] – Admin ID that updated this ticket, else 0 if not updated by an admin.
  • [ltickets][i][updated] – Date/time this ticket was updated.
  • [ltickets][i][body] – Body of this ticket update.


Import Methods