Core ledger

Получить правила схемы проводок

Changed on

Возвращает правила схемы проводок главной книги.

get/api/v1/core/gl-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

Query parameters

subject_type, string
include_closed, boolean
limit, integer

Размер страницы; не задан — все правила. Запрос сверх потолка 500 зажимается до него

offset, integer

Сколько правил пропустить; учитывается вместе с limit

Headers

X-Tenant, string required

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

Response

Правила проводок

CoreGLMappingPage required
count, integer required
total, integer

Сколько правил под фильтром всего, до среза limit/offset

results, CoreGLMapping[] required

Changes

    • warning

      added the new product_kind_goods enum value to the results/items/subject_type response property for the response status

    • warning

      added the new product_kind_material enum value to the results/items/subject_type response property for the response status

    • warning

      added the new product_kind_semi_product enum value to the results/items/subject_type response property for the response status