{{sidenavigation.sidenavigationExpandLabel}}
{{getMsg('Help_YouAreHere')}}: {{page.title}} {{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}} {{helpModel.downloadHelpPdfDataStatus}}

Ticket Actions

The /actions request on a Ticket ID returns a list of ticket actions available to the currently logged-in user to be applied on the ticket. Depending on the users' permissions - and the current state of the ticket - these ticket actions may vary.

GET /api/ticket/<ticket-id>/actions

Returns a list of the ticket actions available to be applied on the ticket. The list is in the form of a map, with the key being the ticket action ID and the value being the display name of the ticket action.

Example Request

# Request
GET /api/ticket/1/actions HTTP/1.1
Authorization: Bearer VGhpcyBpcyBqdXN0IGEgZGVtbyBhY2Nlc3MgdG9rZW4u
 
# Response
HTTP/1.1 200 OK
Content-Type: application/json
 
{
    "-33": "Quick-Ticket anwenden",
    "-2": "Auftrag reaktivieren",
    "-23": "E-Mail empfangen (dem Endanwender nicht anzeigen)",
    "-9": "E-Mail empfangen"
}

Application Example

# Browser access
http://127.0.0.1:9000/api/ticket/1/actions
 
# Shell access using curl
curl -LsH "Authorization: Bearer <access_token>" "http://127.0.0.1:9000/api/ticket/1/actions"
 
# Shell access using curl using username and password
curl -Lsu username:password "http://127.0.0.1:9000/api/ticket/1/actions"
i-net HelpDesk
This application uses cookies to allow login. By continuing to use this application, you agree to the use of cookies.


Help - /actions