REST-TicketStatus
This article provides details about the REST - TicketStatus API call that GFI HelpDesk uses, including its field types, arguments, and responses.
Retrieve a list of all ticket statuses in the help desk.
Response
<ticketstatus>
<id>1</id>
<title>Open</title>
<displayorder>1</displayorder>
<departmentid>0</departmentid>
<displayicon>{$themepath}icon_ticketstatusopen.png</displayicon>
<type>public</type>
<displayinmainlist>0</displayinmainlist>
<markasresolved>0</markasresolved>
<displaycount>1</displaycount>
<statuscolor>#8BB467</statuscolor>
<statusbgcolor>#8BB467</statusbgcolor>
<resetduetime>0</resetduetime>
<triggersurvey>0</triggersurvey>
<staffvisibilitycustom>0</staffvisibilitycustom>
</ticketstatus><ticketstatus>
<id>3</id>
<title>Closed</title>
<displayorder>3</displayorder>
<departmentid>0</departmentid>
<displayicon>{$themepath}icon_ticketstatusclosed.png</displayicon>
<type>private</type>
<displayinmainlist>0</displayinmainlist>
<markasresolved>1</markasresolved>
<displaycount>0</displaycount>
<statuscolor>#5f5f5f</statuscolor>
<statusbgcolor>#5f5f5f</statusbgcolor>
<resetduetime>0</resetduetime>
<triggersurvey>1</triggersurvey>
<staffvisibilitycustom>1</staffvisibilitycustom>
<staffgroupid>1</staffgroupid>
</ticketstatus>
</ticketstatuses>
Retrieve the ticket status identified by $id$.
Arguments
Name | Description |
---|---|
$id$ | The unique numeric identifier of the ticket status |
Response
<ticketstatus>
<id>3</id>
<title>Closed</title>
<displayorder>3</displayorder>
<departmentid>0</departmentid>
<displayicon>{$themepath}icon_ticketstatusclosed.png</displayicon>
<type>private</type>
<displayinmainlist>0</displayinmainlist>
<markasresolved>1</markasresolved>
<displaycount>0</displaycount>
<statuscolor>#5f5f5f</statuscolor>
<statusbgcolor>#5f5f5f</statusbgcolor>
<resetduetime>0</resetduetime>
<triggersurvey>1</triggersurvey>
<staffvisibilitycustom>1</staffvisibilitycustom>
<staffgroupid>1</staffgroupid>
</ticketstatus>
</ticketstatuses>