GetHelpdeskResponseTemplates

Description

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:

Attributes

package
modernbill
subpackage
mbapi
version
0.1
author
Vic Fryzel
author
Andy Christ

Example Request

	<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>

		

Example Response

None
		

Request Elements

mbapi
Type
None
Description
None
Children
command
Type
None
Description
None
showXMLHeader
Type
None
Description
None
params
Type
None
Description
None
Children
hdRespTplID
Type
int
Description

The ID of the response template to fetch. This will always select at most 1 template.

adminID
Type
int
Description

The ID of the admin that created this template.

hdRespTplName
Type
string
Description

The name of the response template to fetch. This is a searched using a LIKE clause.

hdRespTplBody
Type
string
Description

The body text of the response template to fetch. This is a searched using a LIKE clause.

getHelpdeskDepartmentData
Type
int
Description

Set to 1 to return all department data associated with this template.

sortDir
Type
None
Description
None
sortColumn
Type
None
Description
None
recordOffset
Type
None
Description
None
numRecords
Type
None
Description
None

Response Elements

None