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

Classifications

/api/helpdesk/classifications

Manages HelpDesk ticket classifications. Access requires either the general configuration permission or the HelpDesk template-definition permission.

POST creates a request-local classification, applies the supplied writable properties, validates it, and persists it with a server-generated identifier. PUT and PATCH use the same validation. DELETE and active=false perform a soft deactivation; inactive classifications remain addressable. The configured default classification cannot be deactivated.

GET /api/helpdesk/classifications

Lists configurable classifications.

Parameters

Name Location Type Required Description
includeInactive query boolean no whether to include inactive classifications; defaults to false (active only)
query query string no optional case-insensitive substring filter applied to the classification name
fields query string no Comma-separated readable properties to include in the JSON response.

Response

Status Content Type Schema Description
200 application/json array<ClassificationRead> matching classifications

Example Request

# Request
GET /api/helpdesk/classifications HTTP/1.1
Accept: application/json
Authorization: Bearer <access-token>

# Response
HTTP/1.1 200 OK
Content-Type: application/json

[
    {
        "id": 0,
        "name": "string",
        "info": "string",
        "icon": "string",
        "active": true
    }
]

POST /api/helpdesk/classifications

Creates a classification with a server-generated identifier. The request body must provide "name"; omitted "active" defaults to true.

Request Body

Content Type Schema Required Description
application/json ClassificationCreate yes —

Response

Status Content Type Schema Description
201 application/json ClassificationRead staged classification

Example Request

# Request
POST /api/helpdesk/classifications HTTP/1.1
Accept: application/json
Authorization: Bearer <access-token>
Content-Type: application/json

{
    "name": "string",
    "info": "string",
    "icon": "string",
    "active": true
}

# Response
HTTP/1.1 201 Created
Content-Type: application/json

{
    "id": 0,
    "name": "string",
    "info": "string",
    "icon": "string",
    "active": true
}

Common Error Responses

The status codes 400, 403, 404, 405, 406, 409, 413, 415, and 500 use the same ApiError JSON error format:

{
    "status": 404,
    "code": "route_not_found",
    "message": "The requested API route does not exist.",
    "details": []
}

Schemas

Request and response schemas used on this page.

ClassificationRead

Property Type Required Description
id integer (int32) no

Stable server-generated classification identifier. Read-only.

name string no

Required user-visible name, trimmed before storage, at most 50 characters and unique ignoring case.

info string no

Optional explanatory information displayed with the classification.

icon string no

Optional relative name of an existing classification icon. This property only stores the name; it does not upload or delete an icon file.

active boolean no

Whether this classification is active. Setting this to false soft-deactivates the classification and is subject to the same conflict as DELETE. Setting it to true reactivates it.

ApiError

Property Type Required Description
status integer (int32) yes —
code string yes —
message string yes —
details array<object> no —

ClassificationCreate

Property Type Required Description
name string no

Required user-visible name, trimmed before storage, at most 50 characters and unique ignoring case.

info string no

Optional explanatory information displayed with the classification.

icon string no

Optional relative name of an existing classification icon. This property only stores the name; it does not upload or delete an icon file.

active boolean no

Whether this classification is active. Setting this to false soft-deactivates the classification and is subject to the same conflict as DELETE. Setting it to true reactivates it.

i-net HelpDesk
This application uses cookies to allow login. By continuing to use this application, you agree to the use of cookies.


Help