Finance exchange

Сопоставить объект 1С со статьёй

Changed on

Назначает статью Акеды объекту 1С подключения; пустая статья снимает сопоставление. Документы из 1С, которые ждали этого сопоставления, сразу пробуются снова: applied — сколько легло в учёт.

put/api/v1/finance/exchange/onec/connections/{id}/mappings

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

FinanceOneCMappingInput required
kind, 'nomenclature' | 'cashflow' required
key, string required

Ссылка объекта 1С из списка сопоставлений

item_id, string uuid nullable

Response

Сопоставление и сколько документов легло

FinanceOneCMappingResult required
mapping, FinanceOneCMapping required
applied, integer required

Сколько ждавших документов 1С легло в учёт сразу после сопоставления

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