---
title: "Get group by id"
method: GET
path: "/v2/organisation/groups/{groupId}"
tags: ["Groups"]
---

# Get group by id

`GET /v2/organisation/groups/{groupId}`

Get group details identified by groupId.

## Path parameters

- `groupId` integer, required

## Response `200`

Returns group details.

- OrganisationGroupDetailsResponseDto
  - `id` integer
  - `name` string
  - `groupType` 'domain' | 'district' | 'unit' | 'section'
  - `parentGroupId` integer
  - `districtAttributesDto` OrganisationDistrictAttributesDto
    - `districtId` integer
    - `managerId` integer — If not provided will set current value to null.
  - `sectionAttributesDto` OrganisationSectionAttributesDto
    - `sectionId` integer
    - `managerGroupId` integer — If not provided will set current value to 0.
    - `costCentre` integer — If not provided will set current value to 0.
    - `managerId` integer — If not provided will set current value to 0.
  - `unitAttributesDto` OrganisationUnitAttributesDto
    - `unitId` integer
    - `address` OrganisationAddressDto
      - `country` string
      - `address` string
      - `zipCode` string
      - `city` string
      - `municipality` string
      - `timeZone` string
    - `costCentre` integer — If not provided will set current value to 0.
    - `managerId` integer — If not provided will set current value to 0.
    - `currency` string — Currency can not be null
    - `publishedTo` string, date — publishedTo, if not provided will set current value to current Date.
    - `blockPasswordLogin` boolean — If not explicitly provided will set existing value to false.
    - `shiftRules` OrganisationShiftRulesDto
      - `maxHoursPerDay` number, double
      - `maxHoursPerWeek` number, double
      - `minRest` integer
      - `numberOfBreaks` integer
    - `shiftRulesDto` OrganisationShiftRulesDto
      - `maxHoursPerDay` number, double
      - `maxHoursPerWeek` number, double
      - `minRest` integer
      - `numberOfBreaks` integer

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — The group not found

---

[API](https://skmtc.net/quinyx/apis/quinyx-api.md) · [All operations](https://skmtc.net/quinyx/apis/quinyx-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/quinyx/quinyx-api/revisions/70a12bbb88c9/schema)
