Methods > glpi.listHelpdeskTypes

This method is only accessible by authenticated users

Version Comments
1.2.0 No change
1.0.0 id are string (previously integer)
0.2.0 Method added

List allowed types for the authenticated user (from user's right) to open a helpdesk ticket on

input a hastable of option

  • help option to get usage information

return a array of hashtable

  • id of the type (empty for general, my for mine, other for real types)
  • name of the type (localized string)

Call example

$ php testxmlrpc.php --session=1ksd4j0pqats3eaf6g395qr5e4 --method=glpi.listHelpdeskTypes
+ Calling 'glpi.listHelpdeskTypes' on http://localhost//glpi080/plugins/webservices/xmlrpc.php?session=1ksd4j0pqats3eaf6g395qr5e4
+ Response: Array
(
    [0] => Array
        (
            [id] => 
            [name] => General
        )

    [1] => Array
        (
            [id] => my
            [name] => My devices
        )

    [2] => Array
        (
            [id] => Computer
            [name] => Computer
        )

    [3] => Array
        (
            [id] => Monitor
            [name] => Monitor
        )
)