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

Itil Types

/api/helpdesk/itil-types/{itilTypeId}/restrictedTo

Manages HelpDesk ITIL ticket types. Access requires either the general configuration permission or the HelpDesk ITIL-definition permission.

POST creates a request-local ITIL type, 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 types remain addressable. The configured default type cannot be deactivated and must remain available to all users.

GET /api/helpdesk/itil-types/{itilTypeId}/restrictedTo

Complete access restriction map. JSON keys are "group" and "user"; each value is an array of lowercase alphanumeric GUID strings that must resolve to existing accounts or groups, for example {"group":["0123456789abcdefghijklmno"],"user":[]}. On create, omission defaults to the all-users group. The configured default ITIL type must include that group.

Parameters

Name Location Type Required Description
itilTypeId path string yes ITIL type identifier

Response

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

Example Request

# Request
GET /api/helpdesk/itil-types/<itilTypeId>/restrictedTo HTTP/1.1
Accept: application/json
Authorization: Bearer <access-token>

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

{
    "property": [
        "7antey45wmwox4ky6isghndfw"
    ]
}

PUT /api/helpdesk/itil-types/{itilTypeId}/restrictedTo

Complete access restriction map. JSON keys are "group" and "user"; each value is an array of lowercase alphanumeric GUID strings that must resolve to existing accounts or groups, for example {"group":["0123456789abcdefghijklmno"],"user":[]}. On create, omission defaults to the all-users group. The configured default ITIL type must include that group.

Parameters

Name Location Type Required Description
itilTypeId path string yes ITIL type identifier

Request Body

Content Type Schema Required Description
application/json object yes

Complete access restriction map. JSON keys are "group" and "user"; each value is an array of lowercase alphanumeric GUID strings that must resolve to existing accounts or groups, for example {"group":["0123456789abcdefghijklmno"],"user":[]}. On create, omission defaults to the all-users group. The configured default ITIL type must include that group.

Response

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

Example Request

# Request
PUT /api/helpdesk/itil-types/<itilTypeId>/restrictedTo HTTP/1.1
Accept: application/json
Authorization: Bearer <access-token>
Content-Type: application/json

{
    "property": [
        "bpjptijgrcl85b1i01jduacvz"
    ]
}

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

{
    "property": [
        "8hfhlrr259mzkhmr9vla71wiy"
    ]
}

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.

ApiError

Property Type Required Description
status integer (int32) yes —
code string yes —
message string yes —
details array<object> no —
i-net HelpDesk
This application uses cookies to allow login. By continuing to use this application, you agree to the use of cookies.


Help