---
title: "创建SysDictionary"
method: POST
path: "/sysDictionary/createSysDictionary"
tags: ["SysDictionary"]
---

# 创建SysDictionary

`POST /sysDictionary/createSysDictionary`

## Request body

- SystemSysDictionary
  - `createdAt` string — 创建时间
  - `desc` string — 描述
  - `id` integer — 主键ID
  - `name` string — 字典名（中）
  - `status` boolean — 状态
  - `sysDictionaryDetails` SystemSysDictionaryDetail[]
    - `createdAt` string — 创建时间
    - `id` integer — 主键ID
    - `label` string — 展示值
    - `sort` integer — 排序标记
    - `status` boolean — 启用状态
    - `sysDictionaryID` integer — 关联标记
    - `updatedAt` string — 更新时间
    - `value` integer — 字典值
  - `type` string — 字典名（英）
  - `updatedAt` string — 更新时间

## Response `200`

创建SysDictionary

- object
  - `code` integer
  - `data` unknown
  - `msg` string

---

[API](https://skmtc.dev/fisco-bcos/apis/swagger-example-api.md) · [All operations](https://skmtc.dev/fisco-bcos/apis/swagger-example-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fisco-bcos/swagger-example-api/revisions/7e1e58d58189/schema)
