---
title: "Get a specific Result Code by code and date."
method: GET
path: "/result-codes/{code}"
tags: ["result-codes"]
---

# Get a specific Result Code by code and date.

`GET /result-codes/{code}`

## Request

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

Returns the Result Code matching the supplied code and valid on the supplied date.

## Path parameters

- `code` string, required

## Query parameters

- `date` string, date, required

## Response `200`

Result Code found

- ResultCodeGetDetailDto: Immutable DTO representing a detailed Result Code.
  - `resultCode` string, required: Code that identifies the result.
  - `title` string, required: Human-readable title.
  - `wording` TemplateDetail, required: The wording details
    - `template` string, required: The template name. It contains the field names between curly braces.
    - `substitution-key-constraints` TemplateKeyWithConstraint[]: A list of fields and the associated constraints
      - `key` string, required: Field key for substitution into the template.
      - `value` string: The optional value for the key.
      - `constraint` TemplateConstraint, required: The template field with an associated value
        - `type` 'TEXT', required: The data type of the value.
        - `length` integer, required: The length of the data value.
  - `startDate` string, date, required: Date the Result Code became active.
  - `endDate` string, date, nullable, required: Date the Result Code 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.

## Changes

- **2026-07-29** `8a3c6d9862a3`: 1 info
  - the response property `wording/substitution-key-constraints/items/key` became required for the status `200`

[Operation history](https://skmtc.dev/hm-courts-and-tribunals-service/apis/applications-register-api/changes/result-codes/:code/get.md)

---

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