---
title: "Get office by office code"
method: GET
path: "/offices/{officeCode}"
tags: ["Offices"]
---

# Get office by office code

`GET /offices/{officeCode}`

## Path parameters

- `officeCode` string, required

## Response `200`

Successful operation

- Office
  - `code` string, required
  - `country` string, required
  - `city` string, required
  - `address` string, required
  - `capacity` integer, required
  - `monthlyRental` number, required — Monetary value in EUR
  - `estateOwner` object, required
    - `name` string, required
    - `phone` string, required
    - `account` string, required
  - `amenities` string[], required
  - `imgURL` string

## Other responses

- `404` — Office not found
- `500` — An internal server error occurred.
- `503` — The service is temporarily unavailable. Maybe there is maintenance?

## Changes

- **2025-01-24** `542ef1d43cc7` — 1 breaking, 1 info
  - removed the required property `estate` from the response with the `200` status
  - added the required property `estateOwner` to the response with the `200` status
- **2025-01-17** `4573748c6338` — 3 info
  - added the optional property `errorGUID` to the response with the `404` status
  - added the optional property `errorGUID` to the response with the `500` status
  - added the optional property `errorGUID` to the response with the `503` status
- **2025-01-09** `a59b7402c514` — 4 breaking, 1 warning
  - added the new path request parameter `officeCode`
  - the response property `code` became optional for the status `404`
  - the response property `code` became optional for the status `500`
  - the response property `code` became optional for the status `503`
  - …1 more
- **2025-01-09** `29074eeb2bb5` — 3 info
  - added the media type `application/json` for the response with the status `404`
  - added the non-success response with the status `500`
  - added the non-success response with the status `503`
- **2025-01-07** `659ddbe31a58` — 3 breaking, 1 warning, 3 info
  - added the new path request parameter `officeId`
  - removed the media type `application/json` for the response with the status `404`
  - removed the required property `estateOwner` from the response with the `200` status
  - deleted the `path` request parameter `officeCode`
  - …3 more

[Change history](https://skmtc.dev/ducin-public/apis/itcorpo-api/changes/offices/:officeCode/get.md)

---

[API](https://skmtc.dev/ducin-public/apis/itcorpo-api.md) · [All operations](https://skmtc.dev/ducin-public/apis/itcorpo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ducin-public/itcorpo-api/revisions/80675117301b/schema)
