---
title: "Get data field for a collection assosciated with a data point."
method: GET
path: "/v3/collections/{identifier}/fields/{datapoint_identifier}"
tags: ["Deprecated End Points"]
deprecated: true
---

# Get data field for a collection assosciated with a data point.

`GET /v3/collections/{identifier}/fields/{datapoint_identifier}`

> **Deprecated.**

Get a data field for a collection assosciated with a data point

## Path parameters

- `identifier` string, required — Uniquely identify a collection.
- `datapoint_identifier` string, required — Uniquely identify a data point.

## Response `200`

Successfully retrieved data field.

- CollectionField
  - `label` string
  - `fieldType` 'text' | 'integer' | 'float' | 'decimal' | 'date' | 'datetime' | 'daterange' | 'boolean' | 'enum' | 'location' | 'phonenumber' | 'json' | 'table' | 'expectedremuneration' | 'jobtitle' | 'language' | 'skill' | 'yearsexperience' | 'group' | 'table_deprecated' | 'url' | 'image' | 'docclf' — The different data types of annotations
  - `mandatory` boolean
  - `showDropdown` boolean
  - `displayEnumValue` boolean — If true, both the value and the label for the enums will appear in the dropdown in the validation tool.
  - `autoValidationThreshold` number, nullable — Threshold for auto validation. If null, uses the collection's autoValidationThreshold.
  - `enableAutoValidationThreshold` boolean, nullable — If true, the autoValidationThreshold enable auto validation from the threshold from this field if specified, else from the collection
  - `dataSource` string, nullable — Data source mapping identifier
  - `mapping` string, nullable — Defines how the data point is mapped to the data source
  - `displayRawText` string, nullable — Defines how the data point is mapped to the data source

## Other responses

- `400` — Bad request. If it is a validation error will contain a list of each invalid field
- `401` — Authorisation error
- `default` — UnexpectedError

---

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