---
title: "Return details of an interest category by ID."
method: GET
path: "/api/v1/Categories/{id}"
tags: ["Categories"]
---

# Return details of an interest category by ID.

`GET /api/v1/Categories/{id}`

## Path parameters

- `id` integer, required

## Response `200`

OK

- PublishedCategory — Category an interest can be registered with.
  - `id` integer — ID of the category.
  - `number` string, nullable — Number of the category in the code of conduct.
  - `name` string, nullable — Name of the category.
  - `parentCategoryIds` integer[], nullable — The unique ID for any parent category to which this category is associated, if the category is associated with another category.
  - `type` 'Commons' — The type of register of interests
  - `links` Link[], nullable — A list of HATEOAS Links for retrieving further information about this category.
    - `rel` string, nullable — Relationship of the link to the object requested.
    - `href` string, nullable — A complete URL that shows how the action can be performed.
    - `method` string, nullable — Request method of the link.

## Other responses

- `404` — Not Found

---

[API](https://skmtc.net/parliament/apis/register-of-interests-api.md) · [All operations](https://skmtc.net/parliament/apis/register-of-interests-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/parliament/register-of-interests-api/versions/884839d1c6c4/schema)
