---
title: "Fetch project time list."
method: GET
path: "/project_times/fetch"
tags: ["Projects|Project time"]
---

# Fetch project time list.

`GET /project_times/fetch`

This method can be used to request the operating hours and working hours for a project.

In geoCapture, project times record the working hours and activities linked with specific projects. The records
contain information such as the start and end times of activities, their duration, and the employees or equipment
(trackers) that were utilized. This functionality assures precise tracking of labour and resource utilization on
projects, facilitating efficient management and billing. All times are in seconds.

## Query parameters

- `projectReference` string
- `projectImportKey` string
- `from` string, required
- `to` string, required

## Response `200`

Success Response:

- StandardProjectTimesFetchResponse
  - `employeeWorkActivities` object[] — Employee work activities.
    - `employee` ProjectTimesFetchResponseEmployeeItem
      - `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.
    - `startTime` string — Represents a date and a time. (ISO 8601) ICU-Format: yyyy-MM-dd'T'HH:mm:ssxxx
    - `endTime` string — Represents a date and a time. (ISO 8601) ICU-Format: yyyy-MM-dd'T'HH:mm:ssxxx
    - `duration` integer — The duration.
    - `salaryType` string — The salary type of the activity.
  - `trackerWorkActivities` object[] — Tracker operating activities.
    - `tracker` ProjectTimesFetchResponseTrackerItem
      - `id` integer — The internal vehicle ID.
      - `identifier` string — The customer-specific ID. (max. 64 characters)
      - `inventoryNumber` string — The inventory number. (max. 128 characters)
      - `licenseNumber` string — The vehicle license plate. (max. 255 characters)
      - `identificationNumber` string — The vehicle identification number. (max. 24 characters)
      - `importSource` string — External data source from which this vehicle originates. (max. 64 characters)
      - `importKey` string — External ID from the respective data source. (max. 64 characters)
      - `name` string — The vehicle name. (max. 255 characters)
    - `startTime` string — Represents a date and a time. (ISO 8601) ICU-Format: yyyy-MM-dd'T'HH:mm:ssxxx
    - `startLatLng` number[] — Represents a geo coordinate. An array of two double values, representing the latitude and longitude.
    - `endTime` string — Represents a date and a time. (ISO 8601) ICU-Format: yyyy-MM-dd'T'HH:mm:ssxxx
    - `endLatLng` number[] — Represents a geo coordinate. An array of two double values, representing the latitude and longitude.
    - `duration` integer — The duration.
  - `trackerVisitActivities` object[] — Tracker visit activities.
    - `tracker` ProjectTimesFetchResponseTrackerItem
      - `id` integer — The internal vehicle ID.
      - `identifier` string — The customer-specific ID. (max. 64 characters)
      - `inventoryNumber` string — The inventory number. (max. 128 characters)
      - `licenseNumber` string — The vehicle license plate. (max. 255 characters)
      - `identificationNumber` string — The vehicle identification number. (max. 24 characters)
      - `importSource` string — External data source from which this vehicle originates. (max. 64 characters)
      - `importKey` string — External ID from the respective data source. (max. 64 characters)
      - `name` string — The vehicle name. (max. 255 characters)
    - `startTime` string — Represents a date and a time. (ISO 8601) ICU-Format: yyyy-MM-dd'T'HH:mm:ssxxx
    - `endTime` string — Represents a date and a time. (ISO 8601) ICU-Format: yyyy-MM-dd'T'HH:mm:ssxxx
    - `duration` integer — The duration.
  - `accountingEntries` object[] — Accounting entries.
    - `id` integer — The internal accounting entry ID.
    - `date` string — Represents a date. (ISO 8601) ICU-Format: yyyy-MM-dd
    - `description` string — The description of the accounting entry.
    - `salaryType` string — The salary type of the accounting entry.
    - `value` number — The value of the accounting entry.
    - `valueUnit` string — The value unit of the accounting entry. | Value | Description | | ------------------------- | -------------------------------------- | | HOUR | Hours | | DAY | Days | | CURRENCY | Currency | | QUANTITY | Quantity |
    - `employee` ProjectTimesFetchResponseEmployeeItem
      - `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.

---

[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/15839b24c497/schema)
