---
title: "Exports the details of up to <see cref=\"F:BDMS.Controllers.BoreholeExportController.MaxPageSize\"></see> boreholes as a JSON file. Filters the boreholes based on the provided list of IDs."
method: GET
path: "/api/v{version}/boreholeexport/json"
tags: ["BoreholeExport"]
---

# Exports the details of up to <see cref="F:BDMS.Controllers.BoreholeExportController.MaxPageSize"></see> boreholes as a JSON file. Filters the boreholes based on the provided list of IDs.

`GET /api/v{version}/boreholeexport/json`

## Path parameters

- `version` string, required

## Query parameters

- `ids` integer[]

## Response `200`

OK

---

[API](https://skmtc.net/geoadmin/apis/boreholes-rest-api-v2.md) · [All operations](https://skmtc.net/geoadmin/apis/boreholes-rest-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/geoadmin/boreholes-rest-api-v2/versions/e6d0b4ee0f52/schema)
