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

Statuses

/api/helpdesk/statuses/{statusId}

Manages HelpDesk ticket statuses. Reading and writing requires the general configuration permission.

POST creates a request-local status, applies the supplied writable properties, validates it, and persists it. PUT and PATCH use the same validation before persisting changes. DELETE and active=false perform a soft deactivation; inactive statuses remain addressable and can be included in collection results.

Internal statuses cannot be renamed or deactivated. A status referenced by an active action cannot be deactivated. Deactivation also clears the configured read-follow-up status when it points to this status.

DELETE /api/helpdesk/statuses/{statusId}

Soft-deactivates this status. Internal statuses produce the 409 code "status_system_managed"; active action references produce "status_in_use". A matching read-follow-up configuration is reset.

Parameters

Name Location Type Required Description
statusId path string yes status identifier

Response

Status Content Type Schema Description
204 — — No content.

Example Request

# Request
DELETE /api/helpdesk/statuses/<statusId> HTTP/1.1
Accept: application/json
Authorization: Bearer <access-token>

# Response
HTTP/1.1 204 No Content

GET /api/helpdesk/statuses/{statusId}

Manages HelpDesk ticket statuses. Reading and writing requires the general configuration permission.

POST creates a request-local status, applies the supplied writable properties, validates it, and persists it. PUT and PATCH use the same validation before persisting changes. DELETE and active=false perform a soft deactivation; inactive statuses remain addressable and can be included in collection results.

Internal statuses cannot be renamed or deactivated. A status referenced by an active action cannot be deactivated. Deactivation also clears the configured read-follow-up status when it points to this status.

Parameters

Name Location Type Required Description
statusId path string yes status identifier
fields query string no Comma-separated readable properties to include in the JSON response.

Response

Status Content Type Schema Description
200 application/json StatusRead Successful response.

Example Request

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

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

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

PATCH /api/helpdesk/statuses/{statusId}

Manages HelpDesk ticket statuses. Reading and writing requires the general configuration permission.

POST creates a request-local status, applies the supplied writable properties, validates it, and persists it. PUT and PATCH use the same validation before persisting changes. DELETE and active=false perform a soft deactivation; inactive statuses remain addressable and can be included in collection results.

Internal statuses cannot be renamed or deactivated. A status referenced by an active action cannot be deactivated. Deactivation also clears the configured read-follow-up status when it points to this status.

Parameters

Name Location Type Required Description
statusId path string yes status identifier

Request Body

Content Type Schema Required Description
application/json StatusUpdate yes —

Response

Status Content Type Schema Description
200 application/json StatusRead Successful response.

Example Request

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

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

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

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

PUT /api/helpdesk/statuses/{statusId}

Manages HelpDesk ticket statuses. Reading and writing requires the general configuration permission.

POST creates a request-local status, applies the supplied writable properties, validates it, and persists it. PUT and PATCH use the same validation before persisting changes. DELETE and active=false perform a soft deactivation; inactive statuses remain addressable and can be included in collection results.

Internal statuses cannot be renamed or deactivated. A status referenced by an active action cannot be deactivated. Deactivation also clears the configured read-follow-up status when it points to this status.

Parameters

Name Location Type Required Description
statusId path string yes status identifier

Request Body

Content Type Schema Required Description
application/json StatusUpdate yes —

Response

Status Content Type Schema Description
200 application/json StatusRead Successful response.

Example Request

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

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

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

{
    "id": 0,
    "name": "string",
    "icon": "string",
    "internal": true,
    "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.

StatusRead

Property Type Required Description
id integer (int32) no

Stable identifier in the inclusive range 0 to 1000000. Required on create and immutable afterwards.

name string no

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

icon string no

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

internal boolean no

Whether this status is internal, system-managed, and not user-selectable. Read-only.

active boolean no

Whether this status is active. Setting this to false soft-deactivates the status and is subject to the same conflicts 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 —

StatusUpdate

Property Type Required Description
id integer (int32) no

Sets the stable identifier while creating a status. Existing status identifiers are immutable.

name string no

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

icon string no

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

active boolean no

Whether this status is active. Setting this to false soft-deactivates the status and is subject to the same conflicts 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