Core directories

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

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

post/api/v1/core/dictionaries

Request

  • Base URL: https://erp.akeda.ru
  • URL: https://erp.akeda.ru/api/v1/core/dictionaries
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Api-Key
    • OAuth 2 (authorization code, authorization URL https://erp.akeda.ru/oauth2/authorize, token URL https://erp.akeda.ru/oauth2/token, scopes: akeda:delegate)
    • HTTP bearer

Headers

X-Tenantstring required

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

Request body

keystring required
namestring required
descriptionstring
allow_treeboolean
folder_idstring uuid

Response

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

idstring uuid required
keystring required
namestring required
descriptionstring required
is_systemboolean required
allow_treeboolean required
folder_idstring uuid required
item_countinteger required
created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.