This class retrieves helpdesk ticket information based on a wide range of criteria. You can optionally get the ticket responses, attachments, notes, events and user data. This class should only be instantiated by dispatchMBAPI() found in include/mbapi/mbapi.php. Something similar to the following XML should be passed to dispatchMBAPI() when you want to call the GetHelpdeskTicketContact command:
<mbapi> <command><!-- None --></command> <showXMLHeader><!-- None --></showXMLHeader> <params> <hdTicketID><!-- int --></hdTicketID> <sortDir><!-- None --></sortDir> <sortColumn><!-- None --></sortColumn> <recordOffset><!-- None --></recordOffset> <numRecords><!-- None --></numRecords> </params> </mbapi>
None
mbapi
command
showXMLHeader
params
hdTicketID
The ID of the ticket to fetch. This will always select at most 1 ticket.
sortDir
sortColumn
recordOffset
numRecords