---
title: "Get a specific Court Location by code and date."
method: GET
path: "/court-locations/{code}"
tags: ["court-locations"]
---

# Get a specific Court Location by code and date.

`GET /court-locations/{code}`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/court-locations/{code}`
- Auth: none declared

Returns the Court Location matching the supplied code and valid on the supplied date.

## Path parameters

- `code` string, required

## Query parameters

- `date` string, date, required

## Response `200`

Court Location found

- CourtLocationGetDetailDto: Immutable DTO representing a detailed Court Location.
  - `name` string, required: Human-readable court name.
  - `locationCode` string, required: Code that identifies the Court Location.
  - `startDate` string, date, required: Date the Court Location became active.
  - `endDate` string, date, nullable, required: Date the Court Location became inactive. `null` indicates that this row is still active.

## Other responses

- `400`: Invalid request parameters.
- `401`: Authentication required or token invalid.
- `403`: Authenticated but not permitted to perform this action.
- `404`: The requested resource was not found.
- `406`: Requested media type/version not acceptable.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/hm-courts-and-tribunals-service/apis/applications-register-api.md) - [All operations](https://skmtc.dev/hm-courts-and-tribunals-service/apis/applications-register-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hm-courts-and-tribunals-service/apis/applications-register-api/revisions/36521cfe1ab7?raw)
