Docflow connections

Получить подключения к операторам ЭДО

Changed on

Учётные данные оператора в ответе не возвращаются ни одним полем: снаружи виден только признак has_credentials. Отключённые подключения скрыты, пока о них не спросили явно, — это история, а не действующие интеграции.

get/api/v1/docflow/connections

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate

Query parameters

all, '1'

1 — показать и отключённые подключения

company, string uuid

Сузить юрлицом кабинета: карточке юрлица нужно СВОЁ подключение, а не все подключения кабинета

provider, 'saby' | 'diadoc'

Сузить оператором ЭДО

Headers

X-Tenant, string required

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

Response

Подключения кабинета

DocflowConnectionList required
count, integer required
results, DocflowConnection[] 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 reason to the response with the status

    1 more change in this revision