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

Folders

/api/helpdesk/processes/folders/{folderId}

Exposes process folders below /api/helpdesk/processes/folders.

The collection resource returns the protected root node. The root contains compact metadata for its direct processes and one shallow level of FolderSummary children. Clients resolve a child folder to obtain that folder's direct processes and next-level children. This keeps a large folder tree from being repeated in every response; no parentId query parameter is required.

The root has a stable, generated identifier and parentId=null. Every direct child refers to that root identifier in its parentId. Folder names and parent identifiers are the only persisted writable properties; read-only identifiers are accepted and ignored for GET-to-PUT/PATCH round-trips. PATCH updates are staged and persisted by commit; there is no separate move action. A normal DELETE is limited to empty folders. Recursive deletion is an explicit confirmation-protected DELETE action.

DELETE /api/helpdesk/processes/folders/{folderId}

Deletes this folder only when it has no direct processes and no direct child folders.

Parameters

Name Location Type Required Description
folderId path string yes folder identifier from the URL, including the root identifier

Response

Status Content Type Schema Description
204 — — No content.

Example Request

# Request
DELETE /api/helpdesk/processes/folders/<folderId> HTTP/1.1
Accept: application/json
Authorization: Bearer <access-token>

# Response
HTTP/1.1 204 No Content

GET /api/helpdesk/processes/folders/{folderId}

Exposes process folders below /api/helpdesk/processes/folders.

The collection resource returns the protected root node. The root contains compact metadata for its direct processes and one shallow level of FolderSummary children. Clients resolve a child folder to obtain that folder's direct processes and next-level children. This keeps a large folder tree from being repeated in every response; no parentId query parameter is required.

The root has a stable, generated identifier and parentId=null. Every direct child refers to that root identifier in its parentId. Folder names and parent identifiers are the only persisted writable properties; read-only identifiers are accepted and ignored for GET-to-PUT/PATCH round-trips. PATCH updates are staged and persisted by commit; there is no separate move action. A normal DELETE is limited to empty folders. Recursive deletion is an explicit confirmation-protected DELETE action.

Parameters

Name Location Type Required Description
folderId path string yes folder identifier from the URL, including the root identifier
fields query string no Comma-separated readable properties to include in the JSON response.

Response

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

Example Request

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

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

{
    "id": "bu31scprhhs8ywtrmklo47u8x",
    "name": "string",
    "parentId": "7muxj6lnc7mju4tupsw9daw0f",
    "processes": [
        {
            "name": "string",
            "description": "string",
            "id": "4lyiynyd2gg9lgyszb3opzigo"
        }
    ],
    "children": [
        {
            "name": "string",
            "id": "66gt6rr052jib6et0o1xnm0iu",
            "parentId": "evt3ges89e77tnb08jepnuqht"
        }
    ]
}

PATCH /api/helpdesk/processes/folders/{folderId}

Exposes process folders below /api/helpdesk/processes/folders.

The collection resource returns the protected root node. The root contains compact metadata for its direct processes and one shallow level of FolderSummary children. Clients resolve a child folder to obtain that folder's direct processes and next-level children. This keeps a large folder tree from being repeated in every response; no parentId query parameter is required.

The root has a stable, generated identifier and parentId=null. Every direct child refers to that root identifier in its parentId. Folder names and parent identifiers are the only persisted writable properties; read-only identifiers are accepted and ignored for GET-to-PUT/PATCH round-trips. PATCH updates are staged and persisted by commit; there is no separate move action. A normal DELETE is limited to empty folders. Recursive deletion is an explicit confirmation-protected DELETE action.

Parameters

Name Location Type Required Description
folderId path string yes folder identifier from the URL, including the root identifier

Request Body

Content Type Schema Required Description
application/json ProcessFolderUpdate yes —

Response

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

Example Request

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

{
    "id": "axnle0au6qc14u5fmkbm9u65l",
    "name": "string",
    "parentId": "9vlh2ycnitkg454hq4angrhd8"
}

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

{
    "id": "bu31scprhhs8ywtrmklo47u8x",
    "name": "string",
    "parentId": "7muxj6lnc7mju4tupsw9daw0f",
    "processes": [
        {
            "name": "string",
            "description": "string",
            "id": "4lyiynyd2gg9lgyszb3opzigo"
        }
    ],
    "children": [
        {
            "name": "string",
            "id": "66gt6rr052jib6et0o1xnm0iu",
            "parentId": "evt3ges89e77tnb08jepnuqht"
        }
    ]
}

PUT /api/helpdesk/processes/folders/{folderId}

Exposes process folders below /api/helpdesk/processes/folders.

The collection resource returns the protected root node. The root contains compact metadata for its direct processes and one shallow level of FolderSummary children. Clients resolve a child folder to obtain that folder's direct processes and next-level children. This keeps a large folder tree from being repeated in every response; no parentId query parameter is required.

The root has a stable, generated identifier and parentId=null. Every direct child refers to that root identifier in its parentId. Folder names and parent identifiers are the only persisted writable properties; read-only identifiers are accepted and ignored for GET-to-PUT/PATCH round-trips. PATCH updates are staged and persisted by commit; there is no separate move action. A normal DELETE is limited to empty folders. Recursive deletion is an explicit confirmation-protected DELETE action.

Parameters

Name Location Type Required Description
folderId path string yes folder identifier from the URL, including the root identifier

Request Body

Content Type Schema Required Description
application/json ProcessFolderUpdate yes —

Response

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

Example Request

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

{
    "id": "axnle0au6qc14u5fmkbm9u65l",
    "name": "string",
    "parentId": "9vlh2ycnitkg454hq4angrhd8"
}

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

{
    "id": "bu31scprhhs8ywtrmklo47u8x",
    "name": "string",
    "parentId": "7muxj6lnc7mju4tupsw9daw0f",
    "processes": [
        {
            "name": "string",
            "description": "string",
            "id": "4lyiynyd2gg9lgyszb3opzigo"
        }
    ],
    "children": [
        {
            "name": "string",
            "id": "66gt6rr052jib6et0o1xnm0iu",
            "parentId": "evt3ges89e77tnb08jepnuqht"
        }
    ]
}

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.

ProcessFolderRead

Property Type Required Description
id string no

Stable folder identifier, including the generated identifier of the root.

name string no

Folder name, limited to 100 characters and unique within its parent.

parentId string no

Parent identifier; null only for the protected root.

processes array<ProcessSummary> no

Compact metadata of processes directly stored in this folder.

children array<FolderSummary> no

Immediate child folders, represented without nested descendants.

ProcessSummary

Property Type Required Description
name string no —
description string no —
id string no —

FolderSummary

Property Type Required Description
name string no —
id string no —
parentId string no —

ApiError

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

ProcessFolderUpdate

Property Type Required Description
id string no

Accepts the identifier emitted by a GET response for an unchanged PUT/PATCH round-trip. The URL-selected folder remains authoritative.

name string no

Folder name, limited to 100 characters and unique within its parent.

parentId string no

Parent identifier; null only for the protected root.

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


Help