Settings companies

Получить юрлица для фильтров и полей выбора

Changed on

Действующие юрлица всегда, отключённые — только если по ним есть проведённые непомеченные документы. Полный справочник отдаёт другой маршрут.

get/api/v1/settings/companies/selectable

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