Core documents

Проверить доступность проведения, отмены и пометки удаления

Changed on

Это предупреждающий снимок; окончательную защиту держит транзакция действия.

get/api/v1/core/documents/{id}/blockers

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

Path parameters

id, string uuid required

Headers

X-Tenant, string required

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

Response

Разрешённые действия и причины отказа

CoreDocumentBlockers required
document_id, string uuid required
status, 'draft' | 'posted' | 'cancelled' required
post, CoreDocumentActionCheck required
cancel, CoreDocumentActionCheck required
mark_deleted, CoreDocumentActionCheck required

Changes

    • info

      added the optional property cancel/not_checked to the response with the status

    • info

      added the optional property mark_deleted/not_checked to the response with the status

    • info

      added the optional property post/not_checked to the response with the status