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

Locations

/api/helpdesk/locations

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

POST creates a request-local location, applies the supplied writable properties, validates it, and persists it. Identifiers are generated by the server. PUT and PATCH use the same validation. DELETE and active=false perform a soft deactivation; inactive locations remain addressable.

A configured default user location or default inventory location cannot be deactivated.

GET /api/helpdesk/locations

Lists configurable locations.

Parameters

Name Location Type Required Description
includeInactive query boolean no whether to include inactive locations; defaults to false (active only)
query query string no optional case-insensitive substring filter applied to the location 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<LocationRead> matching locations

Example Request

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

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

[
    {
        "id": 0,
        "name": "string",
        "comment": "string",
        "address": "string",
        "values": "string"
    }
]

POST /api/helpdesk/locations

Creates a location 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 LocationCreate yes —

Response

Status Content Type Schema Description
201 application/json LocationRead staged location

Example Request

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

{
    "name": "string",
    "comment": "string",
    "address": "string",
    "values": "string",
    "slaPriorityId": 0
}

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

{
    "id": 0,
    "name": "string",
    "comment": "string",
    "address": "string",
    "values": "string"
}

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.

LocationRead

Property Type Required Description
id integer (int32) no

Stable server-generated location identifier. Read-only.

name string no

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

comment string no

Optional location comment of at most 100 characters.

address string no

Optional postal or descriptive address of at most 1000 characters.

values string no

Optional legacy multiline value list. Lines beginning with # or * are interpreted as structured list entries by legacy HelpDesk clients.

slaPriorityId integer (int32) no

Identifier of an active SLA priority, or zero for no location-specific priority.

active boolean no

Whether this location is active. Setting this to false soft-deactivates the location 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 —

LocationCreate

Property Type Required Description
name string no

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

comment string no

Optional location comment of at most 100 characters.

address string no

Optional postal or descriptive address of at most 1000 characters.

values string no

Optional legacy multiline value list. Lines beginning with # or * are interpreted as structured list entries by legacy HelpDesk clients.

slaPriorityId integer (int32) no

Identifier of an active SLA priority, or zero for no location-specific priority.

active boolean no

Whether this location is active. Setting this to false soft-deactivates the location 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