A * denotes a required field.
importTicket (&$ticket) – Import a Trouble Ticket.
Input:
Array (
*[id] => 100
[uid] => 1000
[closed] => 0000-00-00 00:00:00
[priority] => 1
[area] => Billing
[ltickets] => Array (
[0] => Array (
[uid] => 1000
[aid] => 0
[updated] => 2008-01-01 12:59:59
[body] => Hi, just updating this ticket.
)
…
)
)
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