Finance transactions

Вернуть удалённую банковскую операцию (исторический адрес)

Changed on

Исторический адрес той же команды financeRestoreTransaction. Проверяет право finance.transactions:write.

post/api/v1/bank/transactions/{id}/restore

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

Path parameters

id, string uuid required

Headers

X-Tenant, string required

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

Response

Итог восстановления

FinanceTransactionRestoreResult required

Какие операции вернулись в учёт и какие нет.

restored, UUID[] required

Возвращённые операции.

failed, object[] required

Операции, которые вернуть не удалось, с причиной.

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

    9 more changes in this revision