---
title: "Changes to Get all BDMS.Models.Document that are linked to the BDMS.Models.Borehole with BDMS.Models.Borehole.Id provided in boreholeId."
method: GET
path: "/api/v{version}/document/getallforborehole"
---

# Changes to Get all BDMS.Models.Document that are linked to the BDMS.Models.Borehole with BDMS.Models.Borehole.Id provided in boreholeId.

`GET /api/v{version}/document/getallforborehole`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 2 of 25 revisions.

- **2026-06-22** `4b5d5e7caaa2` — 6 info
- **2026-06-03** `d9f37189e0ef` — 48 breaking

## Changes

- **2026-06-22** `4b5d5e7caaa2` — 6 info
  - the response property `items/createdBy/workgroupRoles/items/workgroup/name` became required for the status `200` (media type: text/plain)
  - the response property `items/createdBy/workgroupRoles/items/workgroup/name` became required for the status `200` (media type: application/json)
  - the response property `items/createdBy/workgroupRoles/items/workgroup/name` became required for the status `200` (media type: text/json)
  - the response property `items/updatedBy/workgroupRoles/items/workgroup/name` became required for the status `200` (media type: text/plain)
  - the response property `items/updatedBy/workgroupRoles/items/workgroup/name` became required for the status `200` (media type: application/json)
  - the response property `items/updatedBy/workgroupRoles/items/workgroup/name` became required for the status `200` (media type: text/json)
- **2026-06-03** `d9f37189e0ef` — 48 breaking
  - the response property `items/boreholeId` became optional for the status `200` (media type: text/plain)
  - the response property `items/boreholeId` became optional for the status `200` (media type: application/json)
  - the response property `items/boreholeId` became optional for the status `200` (media type: text/json)
  - the response property `items/createdBy/id` became optional for the status `200` (media type: text/plain)
  - the response property `items/createdBy/id` became optional for the status `200` (media type: application/json)
  - the response property `items/createdBy/id` became optional for the status `200` (media type: text/json)
  - the response property `items/createdBy/termsAccepted/items/term/id` became optional for the status `200` (media type: text/plain)
  - the response property `items/createdBy/termsAccepted/items/term/id` became optional for the status `200` (media type: application/json)
  - the response property `items/createdBy/termsAccepted/items/term/id` became optional for the status `200` (media type: text/json)
  - the response property `items/createdBy/termsAccepted/items/termId` became optional for the status `200` (media type: text/plain)
  - the response property `items/createdBy/termsAccepted/items/termId` became optional for the status `200` (media type: application/json)
  - the response property `items/createdBy/termsAccepted/items/termId` became optional for the status `200` (media type: text/json)
  - the response property `items/createdBy/termsAccepted/items/userId` became optional for the status `200` (media type: text/plain)
  - the response property `items/createdBy/termsAccepted/items/userId` became optional for the status `200` (media type: application/json)
  - the response property `items/createdBy/termsAccepted/items/userId` became optional for the status `200` (media type: text/json)
  - the response property `items/createdBy/workgroupRoles/items/userId` became optional for the status `200` (media type: text/plain)
  - the response property `items/createdBy/workgroupRoles/items/userId` became optional for the status `200` (media type: application/json)
  - the response property `items/createdBy/workgroupRoles/items/userId` became optional for the status `200` (media type: text/json)
  - the response property `items/createdBy/workgroupRoles/items/workgroup/id` became optional for the status `200` (media type: text/plain)
  - the response property `items/createdBy/workgroupRoles/items/workgroup/id` became optional for the status `200` (media type: application/json)
  - the response property `items/createdBy/workgroupRoles/items/workgroup/id` became optional for the status `200` (media type: text/json)
  - the response property `items/createdBy/workgroupRoles/items/workgroupId` became optional for the status `200` (media type: text/plain)
  - the response property `items/createdBy/workgroupRoles/items/workgroupId` became optional for the status `200` (media type: application/json)
  - the response property `items/createdBy/workgroupRoles/items/workgroupId` became optional for the status `200` (media type: text/json)
  - the response property `items/id` became optional for the status `200` (media type: text/plain)
  - the response property `items/id` became optional for the status `200` (media type: application/json)
  - the response property `items/id` became optional for the status `200` (media type: text/json)
  - the response property `items/updatedBy/id` became optional for the status `200` (media type: text/plain)
  - the response property `items/updatedBy/id` became optional for the status `200` (media type: application/json)
  - the response property `items/updatedBy/id` became optional for the status `200` (media type: text/json)
  - the response property `items/updatedBy/termsAccepted/items/term/id` became optional for the status `200` (media type: text/plain)
  - the response property `items/updatedBy/termsAccepted/items/term/id` became optional for the status `200` (media type: application/json)
  - the response property `items/updatedBy/termsAccepted/items/term/id` became optional for the status `200` (media type: text/json)
  - the response property `items/updatedBy/termsAccepted/items/termId` became optional for the status `200` (media type: text/plain)
  - the response property `items/updatedBy/termsAccepted/items/termId` became optional for the status `200` (media type: application/json)
  - the response property `items/updatedBy/termsAccepted/items/termId` became optional for the status `200` (media type: text/json)
  - the response property `items/updatedBy/termsAccepted/items/userId` became optional for the status `200` (media type: text/plain)
  - the response property `items/updatedBy/termsAccepted/items/userId` became optional for the status `200` (media type: application/json)
  - the response property `items/updatedBy/termsAccepted/items/userId` became optional for the status `200` (media type: text/json)
  - the response property `items/updatedBy/workgroupRoles/items/userId` became optional for the status `200` (media type: text/plain)
  - …8 more
  - …this revision’s changelog is incomplete

---

[Operation](https://skmtc.dev/geoadmin/apis/boreholes-rest-api-v2/docs/api/v:version/document/getallforborehole/get.md) · [API](https://skmtc.dev/geoadmin/apis/boreholes-rest-api-v2.md) · [Page](https://skmtc.dev/geoadmin/apis/boreholes-rest-api-v2/changes/api/v:version/document/getallforborehole/get)
