This class retrieves response templates for the built-in helpdesk. 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 GetHelpdeskResponseTemplates command:
<mbapi> <command><!-- None --></command> <showXMLHeader><!-- None --></showXMLHeader> <params> <hdRespTplID><!-- int --></hdRespTplID> <adminID><!-- int --></adminID> <hdRespTplName><!-- string --></hdRespTplName> <hdRespTplBody><!-- string --></hdRespTplBody> <getHelpdeskDepartmentData><!-- int --></getHelpdeskDepartmentData> <sortDir><!-- None --></sortDir> <sortColumn><!-- None --></sortColumn> <recordOffset><!-- None --></recordOffset> <numRecords><!-- None --></numRecords> </params> </mbapi>
None
mbapi
command
showXMLHeader
params
hdRespTplID
The ID of the response template to fetch. This will always select at most 1 template.
adminID
The ID of the admin that created this template.
hdRespTplName
The name of the response template to fetch. This is a searched using a LIKE clause.
hdRespTplBody
The body text of the response template to fetch. This is a searched using a LIKE clause.
getHelpdeskDepartmentData
Set to 1 to return all department data associated with this template.
sortDir
sortColumn
recordOffset
numRecords