---
title: "Request detailed form data."
method: GET
path: "/custom_form_data/fetch_data"
tags: ["Documents|Form data"]
---

# Request detailed form data.

`GET /custom_form_data/fetch_data`

This endpoint enables you to procure detailed information about a custom form by providing the ID.  At the data
key, you will receive the values of the various fields from the form. The data will be available in the
designated section of the custom form. Please note that any redundant data will be removed in accordance with
established retention policies. The field name shall serve as the key in the JSON Object, receiving the
corresponding data. The form definition can only be altered in geoCapture, not via API.

## Query parameters

- `id` integer, required
- `log_access` boolean

## Response `200`

Success Response:

- StandardCustomFormDataFetchDataResponse
  - `id` integer — The internal ID.
  - `customFormId` string — The internal ID.
  - `name` string — Name of the form
  - `latLng` number[] — Represents a geo coordinate. An array of two double values, representing the latitude and longitude.
  - `status` string — Status of the form. | Value | Description | |------------|---------------------------------------| | NEW | Freshly created | | FILLED | Filled out form | | REVIEW | Approval pending | | APPROVED | Approved via associated approval rule | | COMPLETED | Manually approved via user | | REJECTED | Rejected via associated approval rule | | RESET | Approval reverted | | DELETED | Deleted |
  - `createdAt` string — Represents a date and a time. (ISO 8601) ICU-Format: yyyy-MM-dd'T'HH:mm:ssxxx
  - `project` StandardCustomFormDataBaseProjectItem
    - `id` integer — The internal project ID.
    - `reference` string — The project number.
    - `importSource` string — External data source from which this project originated.
    - `importKey` string — External ID from the respective data source.
    - `name` string — The project name. (max. 255 characters)
    - `description` string — The project description.
    - `extraName1` string — The name1 address addition. (max. 255 characters)
    - `extraName2` string — The name2 address addition. (max. 255 characters)
    - `extraName3` string — The name3 address addition. (max. 255 characters)
    - `street` string — The street.
    - `zipCode` string — The zip code.
    - `city` string — The city.
    - `countryCode` string — The two-digit ISO 3166 country code.
    - `latLng` number[] — Represents a geo coordinate. An array of two double values, representing the latitude and longitude.
    - `costCenter` string — The cost center. (max. 64 characters)
  - `employee` StandardCustomFormDataBaseEmployeeItem
    - `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.
  - `definitionVersion` integer — Version of the form definition.
  - `data` integer[] — The form's values as a JSON Object.

---

[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)
