(Created page with "The support ticket types command will return a list of all of the valid fields that are used with the create function. ==Path== */support/ticket...") |
|||
Line 1: | Line 1: | ||
The [[Support|support]] ticket types command will return a list of all of the valid fields that are used with the [[Support Create|create]] function. | The [[Support|support]] ticket types command will return a list of all of the valid fields that are used with the [[Support Create|create]] function. | ||
==Path== | ==Path== | ||
− | */support/tickettypes | + | */support/tickettypes/$type |
==Method== | ==Method== | ||
Line 10: | Line 10: | ||
==Optional Data Parameters== | ==Optional Data Parameters== | ||
− | * | + | *{$type}: The specific department that you want to get the fields for, the department names can be retrieved by using the [[Support Departments|support departments]] command; the default is all. |
==Returned Data== | ==Returned Data== |
The support ticket types command will return a list of all of the valid fields that are used with the create function.
Contents |
stdClass Object( [success] => TRUE/FALSE [data] => stdClass Object( [DEPARTMENT_NAME] => stdClass Object( [type] => The department name. [description] => The description about the department. [fields] => Array( //Contains an array of all the required fields for each ticket department. [0] => stdClass Object( [name] => The name of the field. [type] => The type of field. [description] => The description of the field. [required] => Is the field reuquired. ) ) ) ) )