Core directories

Создать пользовательский справочник

Changed on

Создаёт пользовательский справочник.

post/api/v1/core/dictionaries

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate
    • or HTTP bearer

Headers

X-Tenant, string required

Slug выбранного кабинета; кабинет не является юрлицом

Request body

CoreDictionaryCreate required
key, string required
name, string required
description, string
allow_tree, boolean
folder_id, string uuid nullable

Response

Созданный справочник

CoreDictionary required
id, string uuid required
key, string required
name, string required
description, string required
is_system, boolean required
allow_tree, boolean required
folder_id, string uuid nullable required
item_count, integer required
created_at, string date-time required
updated_at, string date-time required

Changes

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    5 more changes in this revision