Settings companies
Проверить, чем занято юрлицо
Changed onВозвращает держателей юрлица — движения, документы и строки учёта (счета, склады, сотрудники) — и признак blocked. Пока blocked = true, юрлицо не удаляется, его отключают; message — объяснение для человека.
get/api/v1/settings/companies/{id}/usage
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 выбранного кабинета; кабинет не является юрлицом
Response
Держатели юрлица и признак блокировки
Core Object Usage required
blocked, boolean required
rows, Core Object Usage Row[] required
message, string required
Changes
- info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status
5 more changes in this revision
- info