Stock documents
Проверить доступность проведения, отмены и пометки удаления
Changed onЭто предупреждающий снимок ядра; окончательную защиту держит транзакция самого действия. У проведённого документа перепроведение здесь не считается (post.not_checked), его считает панель документов ядра.
get/api/v1/stock/documents/{id}/blockers
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
- or HTTP bearer
Path parameters
id, string uuid required
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Response
Разрешённые действия и причины отказа
Core Document Blockers required
document_id, string uuid required
status, 'draft' | 'posted' | 'cancelled' required
post, Core Document Action Check required
cancel, Core Document Action Check required
mark_deleted, Core Document Action Check required
Changes
- info
added the optional property
cancel/not_checkedto the response with the status - info
added the optional property
mark_deleted/not_checkedto the response with the status - info
added the optional property
post/not_checkedto the response with the status
- info