REST-TicketType
This article provides details about the REST - TicketType API call that GFI HelpDesk uses, including its field types, arguments, and responses.
Retrieve a list of all the ticket types in the helpdesk.
Response
<tickettype><id>4</id>
<title>Lead</title>
<displayorder>4</displayorder>
<departmentid>0</departmentid>
<displayicon>{$themepath}icon_typelead.png</displayicon>
<type>private</type><uservisibilitycustom>0</uservisibilitycustom>
</tickettype><tickettype>
<id>5</id><title>Feedback</title>
<displayorder>5</displayorder>
<departmentid>0</departmentid>
<displayicon>{$themepath}icon_lightbulb.png</displayicon>
<type>public</type>
<uservisibilitycustom>1</uservisibilitycustom>
<usergroupid>2</usergroupid>
</tickettype>
</tickettypes>
Retrieve the ticket type identified by $id$.
Arguments
Name | Description |
---|---|
$id$ | The unique numeric identifier of the ticket type |
Response
<tickettype>
<id>5</id><title>Feedback</title>
<displayorder>5</displayorder>
<departmentid>0</departmentid>
<displayicon>{$themepath}icon_lightbulb.png</displayicon>
<type>public</type>
<uservisibilitycustom>1</uservisibilitycustom>
<usergroupid>2</usergroupid>
</tickettype>
</tickettypes>