---
title: "One generic trouble code, described in this project's own words."
method: GET
path: "/v1/codes/{code}"
tags: ["Codes"]
---

# One generic trouble code, described in this project's own words.

`GET /v1/codes/{code}`

## Request

- Base URL: `https://open.wenmarpro.com`
- URL: `https://open.wenmarpro.com/v1/codes/{code}`
- Auth: none declared

Only codes every maker uses the same way are described: `P0`, `P2`,
`P3400` and up, `B0`, `C0`, `U0` and `U3`. The text is general and is
not about one make.

## Path parameters

- `code` string, required

## Response `200`

The code's description.

- Code: One generic trouble code, described in this project's own words.
  - `attribution` string[], required: The credit lines the data's licences ask for.
  - `checked` string, required: The day it was approved.
  - `checks` string[], required: What a technician usually verifies first.
  - `code` string, required
  - `common_causes` string[], required: General causes, not about one make.
  - `components` CodeComponent[], required
    - `id` string, required
    - `name` string, required
    - `parent` string, nullable: The system a part belongs to. `null` for a system.
  - `generic` boolean, required: Always `true` here: only codes every maker uses the same way are described.
  - `meaning` string, required: What the code tells a service advisor.
  - `note` string, required: What a description is and is not.
  - `related` CodeLink[], required: Related codes that are described too.
    - `code` string, required
    - `system` string, required: Where the index lists it: a group (`powertrain`, `body`, `chassis`, `network`), or a group and an area of it.
    - `title` string, required
    - `url` string, required: The code's page on this site.
  - `reviewer` string, required: The GitHub name of the person who approved the text.
  - `system` string, required
  - `system_name` string, required
  - `title` string, required
  - `url` string, required

## Other responses

- `404`: `not_found`: the text is not a code, the code is specific to a manufacturer, or nobody has described it yet; the message says which. `dataset_unavailable`: this server holds no code descriptions.

---

[API](https://skmtc.dev/wenmarpro/apis/wenmar-open.md) · [All operations](https://skmtc.dev/wenmarpro/apis/wenmar-open/llms.txt) · [OpenAPI document](https://skmtc.dev/wenmarpro/apis/wenmar-open/revisions/1027b548b6f0?raw)
