Core documents

Получить журнал документов конструктора

Changed on

Документы всех модулей, кроме продаж или закупок: продажа, продажа или закупка поставщику и закрытие продажи или закупки видны по юрлицу в области участника и только с правом core.trade:read, поэтому их журналы — coreListSales и coreListPurchases.

get/api/v1/core/documents

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

Query parameters

type, string uuid
status, 'draft' | 'posted' | 'cancelled'
basis, string uuid
q, string

Номер или комментарий

date_from, string date
date_to, string date
include_deleted, boolean
limit, integer

Headers

X-Tenant, string required

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

Response

Журнал документов

CoreDocumentPage required
count, integer required
results, CoreDocument[] required
has_more, boolean

Changes

    • info

      added the optional property has_more to the response with the status

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    4 more changes in this revision