REST DocumentationDepartmentsGET List a department's managers

List a department’s managers

Returns all managers of the department, the same entries as manager of the single-department endpoint.

Availability: Full version and ZEP Clock

Request

GET /api/v1/departments/{id}/managers
curl --request GET \
     --url 'https://www.zep-online.de/zepinstanz/next/api/v1/departments/{id}/managers' \
     --header 'Accept: application/json' \
     --header 'Authorization: Bearer {token}'

Path parameters

  • Name
    id
    Type
    integer
    Description

    The department ID

Response

{
  "data": [
    {
      "username": "max.mustermann",
      "firstname": "Max",
      "lastname": "Mustermann",
      "personal_number": "1",
      "email": "erika.mustermann@acme-corp.de",
      "is_deputy": true
    }
  ]
}

Response fields

  • Name
    username
    Type
    string
    Description

    Unique login name of the department manager.

  • Name
    firstname
    Type
    string
    Description

    Given name of the department manager.

  • Name
    lastname
    Type
    string
    Description

    Family name of the department manager.

  • Name
    personal_number
    Type
    string, nullable
    Description

    Personnel number of the department manager.

  • Name
    email
    Type
    string, nullable
    Description

    Business email address of the department manager.

  • Name
    is_deputy
    Type
    boolean
    Description

    Whether the person is the deputy of the department manager; only the Inovex module sets it, an unset value reads false.

Generated from the OpenAPI specification — edit the source code, not this page.