Core directories
Добавить запись справочника
Changed onКод можно не передавать при ручном создании; сервер построит его из названия.
post/api/v1/core/dictionaries/{id}/items
Request
- Base URLhttps://erp.akeda.ru
- Auth
- HTTP bearer
- or API key in header X-Api-Key
- or OAuth 2Authorization codehttps://erp.akeda.ru/oauth2/authorizeToken URLhttps://erp.akeda.ru/oauth2/tokenScopesakeda:delegate
Path parameters
id, string uuid required
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Request body
Core Dictionary Item Create required
code, string
label, string required
parent_id, string uuid nullable
attrs, object
sort_order, integer
is_active, boolean
Response
Созданная запись
Core Dictionary Item required
id, string uuid required
dictionary_id, string uuid required
code, string required
label, string required
label_key, string
Ключ перевода подписи записи из посева (ERP-2627), вида common:seeded.dictionaries.<справочник>.<код>; есть, пока запись носит имя посева. Переименованная клиентом запись ключа не имеет
parent_id, string uuid nullable required
attrs, object required
sort_order, integer required
is_active, boolean required
created_at, string date-time required
updated_at, string date-time required
Changes
- info
the endpoint scheme security
erpUserTokenwas removed from the API - info
the endpoint scheme security
installationTokenwas removed from the API - info
the endpoint scheme security
mcpOAuthwas removed from the API
1 more change in this revision
- info