---
title: "Fetch employees/departments and their wage group settings."
method: GET
path: "/wage_group_employee_setting/fetch"
tags: ["Cost control|Wage group employee setting"]
---

# Fetch employees/departments and their wage group settings.

`GET /wage_group_employee_setting/fetch`

This endpoint enables you to retrieve a list of wage group employee settings.

## Query parameters

- `filter[byEmployeeId]` integer
- `filter[byDepartmentId]` integer
- `offset` integer
- `limit` integer

## Response `200`

Success Response:

- StandardWageGroupEmployeeHistoryFetchResponse
  - `data` object[] — The wage group employee settings.
    - `id` integer — The internal id of the wage group employee setting.
    - `employee` StandardWageGroupEmployeeHistoryBaseEmployeeItem
      - `id` integer — The internal employee ID.
      - `reference` string — The personal number. (max. 20 characters)
      - `cardNumber` string — The driver card number.
      - `importSource` string — External data source from which this employee originates. (max. 16 characters)
      - `importKey` string — External ID from the respective data source. (max. 64 characters)
      - `firstName` string — The first name of the employee. (max. 128 characters)
      - `lastName` string — The last name of the Employee. (max. 128 characters)
      - `name` string — This field is deprecated. Please use firstName The complete Name of the Employee If first name or last name is set, name is ignored.
    - `department` DepartmentFetchResponseDepartmentItem
      - `id` integer — The internal id of the department.
      - `name` string — The name of the department.
      - `parent` string — The name of the departments parent.
    - `wageGroupSource` string — The source of the wage group for this setting.
    - `wageGroup` StandardWageGroupBaseWageGroupListItem
      - `id` integer — The internal id of the wage group.
      - `name` string — The name of the wage group.
      - `externalId` string — The external id of the wage group.
      - `createdAt` string — Represents a date and a time. (ISO 8601) ICU-Format: yyyy-MM-dd'T'HH:mm:ssxxx
    - `fallbackProject` number — The fallback project for this setting.
    - `automaticBooking` number — This indicates whether this setting should be used to create cost bookings automatically.
    - `from` string — Represents a date. (ISO 8601) ICU-Format: yyyy-MM-dd
    - `to` string — Represents a date. (ISO 8601) ICU-Format: yyyy-MM-dd
  - `offset` integer — Number of skipped records.
  - `totalCount` integer — Total number of available wage group employee settings.

---

[API](https://skmtc.net/geocapture/apis/geocapture-api.md) · [All operations](https://skmtc.net/geocapture/apis/geocapture-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/geocapture/geocapture-api/versions/869b05603541/schema)
