---
title: "GET /subunits/{entityId}"
method: GET
path: "/subunits/{entityId}"
tags: ["Special Endpoints"]
---

# GET /subunits/{entityId}

`GET /subunits/{entityId}`

Retrieves all subunits of a place in a special format, used by e.g. ARIADNEplus and THANADOS.

## Path parameters

- `entityId` integer, required

## Query parameters

- `download` boolean

## Response `200`

Success

- object[]
  - `id` integer, required
  - `parentId` integer, required
  - `rootId` integer, required
  - `openatlasClassName` string, required
  - `crmClass` string, required
  - `created` string, required
  - `modified` string, required
  - `latestModRec` string, required
  - `geometry` object, required
    - `type` string
    - `coordinates` number[]
    - `title` string
    - `description` string
    - `shapeType` string
  - `children` integer[], required
  - `properties` object, required
    - `name` string, required
    - `aliases` string, nullable, required
    - `description` string, required
    - `standardType` object, required
      - `name` string, required
      - `id` integer, required
      - `rootId` integer, required
      - `path` string, required
      - `externalReferences` object[], required
        - `type` string, required
        - `identifier` string, required
        - `referenceSystem` string, required
        - `resolverURL` string, required
        - `referenceURL` string, required
        - `id` string, required
    - `timespan` object, required
      - `earliestBegin` string, required
      - `latestBegin` string, required
      - `earliestEnd` string, required
      - `latestEnd` string, required
    - `externalReferences` object[], required
      - `type` string, required
      - `identifier` string, required
      - `referenceSystem` string, required
      - `resolverURL` string, required
      - `referenceURL` string, required
      - `id` string, required
    - `references` object[], required
      - `id` integer, required
      - `abbreviation` string, required
      - `title` string, required
      - `pages` string, nullable, required
    - `files` string, nullable, required
    - `types` object[], required
      - `id` integer, required
      - `rootId` integer, required
      - `name` string, required
      - `path` string, required
      - `value` string, nullable, required
      - `unit` string, nullable, required
      - `externalReferences` object[], required
        - `type` string
        - `identifier` string
        - `referenceSystem` string
        - `resolverURL` string
        - `referenceURL` string
        - `id` string

## Other responses

- `404` — Something went wrong. Please consult the error message.

## Changes

- **2025-04-01** `b640f0339736` — 2 breaking, 5 info
  - the response's body type/format changed from `object`/`` to `array`/`` for status `200`
  - removed the media type `application/json` for the response with the status `404`
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `401`
  - …3 more

[Change history](https://skmtc.dev/craws/apis/openatlas-api/changes/subunits/:entityId/get.md)

---

[API](https://skmtc.dev/craws/apis/openatlas-api.md) · [All operations](https://skmtc.dev/craws/apis/openatlas-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/craws/openatlas-api/revisions/f2e51ff080a6/schema)
