Settings companies

Получить юрлица кабинета

Changed on

Справочник целиком, без страниц; сначала действующие, дальше отключённые, внутри по названию. Строки и реквизиты берутся из базы кабинета через модуль core, а параметр business при наличии отбирает одно направление бизнеса.

get/api/v1/settings/companies

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

Headers

X-Tenant, string required

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

Response

Юрлица кабинета

SettingsCompanyPage required
count, integer required

Число отданных строк, страниц у справочника нет

results, SettingsCompany[] required

Changes

    • info

      added the optional property results/items/gln 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

    2 more changes in this revision