Support Ticket Types

From INAP Dropzone API
(Difference between revisions)
Jump to: navigation, search
(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==
*None
+
*{$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==

Latest revision as of 19:09, 24 March 2012

The support ticket types command will return a list of all of the valid fields that are used with the create function.

Contents

Path

  • /support/tickettypes/$type

Method

Required Data Parameters

  • None

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 command; the default is all.

Returned Data

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.
        )
      )
    )
  )
)
Personal tools