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

Folders

/api/helpdesk/forms/folders/{folderId}

Exposes HelpDesk form folders as a hierarchical WebAPI resource.

GET /api/helpdesk/forms/folders returns the protected root node with compact summaries of its direct forms and one shallow level of child summaries. Resolve a child folder for its direct contents; descendants are never embedded recursively. Individual folders support normal create, update, and delete operations. New folders default to FolderSharingMode#PRIVATE. A normal delete is deliberately limited to empty folders; recursive deletion is an explicit confirmation-protected tree action. Read-only identifiers are accepted and ignored when a GET representation is sent back unchanged.

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

Deletes this folder when it has no direct forms or child folders. Non-empty folders return a conflict and remain unchanged.

Parameters

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

Response

Status Content Type Schema Description
204 — — No content.

Example Request

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

# Response
HTTP/1.1 204 No Content

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

Exposes HelpDesk form folders as a hierarchical WebAPI resource.

GET /api/helpdesk/forms/folders returns the protected root node with compact summaries of its direct forms and one shallow level of child summaries. Resolve a child folder for its direct contents; descendants are never embedded recursively. Individual folders support normal create, update, and delete operations. New folders default to FolderSharingMode#PRIVATE. A normal delete is deliberately limited to empty folders; recursive deletion is an explicit confirmation-protected tree action. Read-only identifiers are accepted and ignored when a GET representation is sent back unchanged.

Parameters

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

Response

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

Example Request

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

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

{
    "id": "ae482pe37myq3fxz3w2m6yt8o",
    "parentId": "1w4pux6ywck6amymrmecbqbuf",
    "name": "string",
    "sharingMode": "PUBLIC",
    "members": [
        {
            "id": "2zqjz32jwc6ma8lklrvo5nnd0",
            "type": "group"
        }
    ]
}

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

Exposes HelpDesk form folders as a hierarchical WebAPI resource.

GET /api/helpdesk/forms/folders returns the protected root node with compact summaries of its direct forms and one shallow level of child summaries. Resolve a child folder for its direct contents; descendants are never embedded recursively. Individual folders support normal create, update, and delete operations. New folders default to FolderSharingMode#PRIVATE. A normal delete is deliberately limited to empty folders; recursive deletion is an explicit confirmation-protected tree action. Read-only identifiers are accepted and ignored when a GET representation is sent back unchanged.

Parameters

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

Request Body

Content Type Schema Required Description
application/json FolderUpdate yes —

Response

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

Example Request

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

{
    "id": "31szhrzmhs55c9otxrtx9bl2i",
    "parentId": "aggnn9lfp337a21m0tcc8rycu",
    "name": "string",
    "sharingMode": "PUBLIC",
    "members": [
        {
            "id": "2zqjz32jwc6ma8lklrvo5nnd0",
            "type": "group"
        }
    ]
}

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

{
    "id": "ae482pe37myq3fxz3w2m6yt8o",
    "parentId": "1w4pux6ywck6amymrmecbqbuf",
    "name": "string",
    "sharingMode": "PUBLIC",
    "members": [
        {
            "id": "2zqjz32jwc6ma8lklrvo5nnd0",
            "type": "group"
        }
    ]
}

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

Exposes HelpDesk form folders as a hierarchical WebAPI resource.

GET /api/helpdesk/forms/folders returns the protected root node with compact summaries of its direct forms and one shallow level of child summaries. Resolve a child folder for its direct contents; descendants are never embedded recursively. Individual folders support normal create, update, and delete operations. New folders default to FolderSharingMode#PRIVATE. A normal delete is deliberately limited to empty folders; recursive deletion is an explicit confirmation-protected tree action. Read-only identifiers are accepted and ignored when a GET representation is sent back unchanged.

Parameters

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

Request Body

Content Type Schema Required Description
application/json FolderUpdate yes —

Response

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

Example Request

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

{
    "id": "31szhrzmhs55c9otxrtx9bl2i",
    "parentId": "aggnn9lfp337a21m0tcc8rycu",
    "name": "string",
    "sharingMode": "PUBLIC",
    "members": [
        {
            "id": "2zqjz32jwc6ma8lklrvo5nnd0",
            "type": "group"
        }
    ]
}

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

{
    "id": "ae482pe37myq3fxz3w2m6yt8o",
    "parentId": "1w4pux6ywck6amymrmecbqbuf",
    "name": "string",
    "sharingMode": "PUBLIC",
    "members": [
        {
            "id": "2zqjz32jwc6ma8lklrvo5nnd0",
            "type": "group"
        }
    ]
}

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.

FolderRead

Property Type Required Description
id string no

Stable folder identifier. Read-only.

parentId string no

Parent folder identifier, or null only for the protected root.

name string no

Required folder name. Root has an empty name and cannot be changed.

sharingMode string [PUBLIC, PRIVATE, RESTRICTED] no

Effective folder sharing policy.

members array<FolderSharingMember> no

Explicit users and groups for RESTRICTED sharing.

forms array<FormSummary> no

Compact summaries of forms directly contained in this folder.

children array<FolderSummary> no

Immediate child folders without nested descendants.

FolderSharingMember

Property Type Required Description
id string no —
type string [group, user] no —

FormSummary

Property Type Required Description
showOnStartPage boolean no —
submitType string [CREATE_TICKET, APPLY_ACTION, NOTIFY_TASK_PLANNER] no —
parentFolderId string no —
hasIcon boolean no —
name string no —
id string no —
title string no —
activated boolean no —

FolderSummary

Property Type Required Description
sharingMode string [PUBLIC, PRIVATE, RESTRICTED] no —
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 —

FolderUpdate

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.

parentId string no

Parent folder identifier, or null only for the protected root.

name string no

Required folder name. Root has an empty name and cannot be changed.

sharingMode string [PUBLIC, PRIVATE, RESTRICTED] no

Effective folder sharing policy.

members array<FolderSharingMember> no

Explicit users and groups for RESTRICTED sharing.

i-net HelpDesk
Diese Anwendung verwendet Cookies um das Einloggen zu ermöglichen. Durch die weitere Nutzung dieser Anwendung stimmen Sie der Verwendung von Cookies zu.


Hilfe