---
title: "Create a dictionary"
method: POST
path: "/dictionary"
tags: ["dictionary"]
---

# Create a dictionary

`POST /dictionary`

## Request body

- Dictionary — A collection of dictionary data for categorizing and collecting statistical information
  - `id` string, dictionaryId, required
  - `name` string, required — Name of the statistical field
  - `value` object[] — Acceptable values
    - `id` string, objectId, required
    - `name` string, required
  - `maxItems` number — Maximum number of selected values
  - `minItems` number — Minimum number of selected values
  - `active` boolean — Allows to add to new entries
  - `createdOn` string, datetime, required
  - `createdBy` string, required — User ID responsible for creating the content
  - `modifiedOn` string, datetime, required
  - `modifiedBy` string, required

## Response `201`

Expected response to a valid request

- Dictionary — A collection of dictionary data for categorizing and collecting statistical information
  - `id` string, dictionaryId, required
  - `name` string, required — Name of the statistical field
  - `value` object[] — Acceptable values
    - `id` string, objectId, required
    - `name` string, required
  - `maxItems` number — Maximum number of selected values
  - `minItems` number — Minimum number of selected values
  - `active` boolean — Allows to add to new entries
  - `createdOn` string, datetime, required
  - `createdBy` string, required — User ID responsible for creating the content
  - `modifiedOn` string, datetime, required
  - `modifiedBy` string, required

## Other responses

- `default` — unexpected error

---

[API](https://skmtc.net/watchdogpolska/apis/small-eod.md) · [All operations](https://skmtc.net/watchdogpolska/apis/small-eod/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/watchdogpolska/small-eod/revisions/1c5ac40bf412/schema)
