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

Locations

/api/helpdesk/locations/{locationId}

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.

DELETE /api/helpdesk/locations/{locationId}

Soft-deactivates this location. A configured default user location produces the 409 code "location_default"; a default inventory location produces "location_inventory_default".

Parameters

Name Location Type Required Description
locationId path string yes location identifier

Response

Status Content Type Schema Description
204 — — No content.

Example Request

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

# Response
HTTP/1.1 204 No Content

GET /api/helpdesk/locations/{locationId}

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.

Parameters

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

Response

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

Example Request

# Request
GET /api/helpdesk/locations/<locationId> 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"
}

PATCH /api/helpdesk/locations/{locationId}

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.

Parameters

Name Location Type Required Description
locationId path string yes location identifier

Request Body

Content Type Schema Required Description
application/json LocationUpdate yes —

Response

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

Example Request

# Request
PATCH /api/helpdesk/locations/<locationId> 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 200 OK
Content-Type: application/json

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

PUT /api/helpdesk/locations/{locationId}

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.

Parameters

Name Location Type Required Description
locationId path string yes location identifier

Request Body

Content Type Schema Required Description
application/json LocationUpdate yes —

Response

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

Example Request

# Request
PUT /api/helpdesk/locations/<locationId> 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 200 OK
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 —

LocationUpdate

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