---
title: "Asynchronously gets the BDMS.Models.Workgroup with the specified id."
method: GET
path: "/api/v{version}/workgroup/{id}"
tags: ["Workgroup"]
---

# Asynchronously gets the BDMS.Models.Workgroup with the specified id.

`GET /api/v{version}/workgroup/{id}`

## Path parameters

- `id` integer, required
- `version` string, required

## Response `200`

Returns a workgroup.

- Workgroup — Represents a workgroup entity in the database.
  - `id` integer, required
  - `name` string, required — Gets or sets the name of the workgroup.
  - `createdAt` string, date-time, nullable — Gets or sets the BDMS.Models.Workgroup created date.
  - `disabledAt` string, date-time, nullable — Gets or sets the BDMS.Models.Workgroup disabled date.
  - `isDisabled` boolean — Gets the value whether the BDMS.Models.Workgroup is disabled or not.
  - `settings` string, nullable — Gets or sets the Settings for the BDMS.Models.Workgroup.
  - `boreholeCount` integer — Number of boreholes in the workgroup.

---

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