Finance accounts

Предпросмотр объединения статьи с другой

Changed on

Показывает, что сделает объединение статьи {id} со статьёй target_id, и ничего не меняет: документы со статьёй и зависимые разнесения, обороты по месяцам, переносимые настройки по модулям и итоги регистров до и после. Отказы те же, что у объединения, с перечнем мешающего.

post/api/v1/finance/items/{id}/merge/preview

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 выбранного кабинета; кабинет не является юрлицом

Request body

FinanceItemMergeRequest required
target_id, string uuid required

Response

Предпросмотр объединения

FinanceItemMergeResult required
preview, boolean
source_id, string uuid
source_name, string
target_id, string uuid
target_name, string
documents, object[]
months, object[]
settings, object[]
references, object[]
totals, object[]
deleted, boolean

Changes

    • info

      added the optional property field 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

    7 more changes in this revision