Core currency rates

Запустить загрузку курсов сейчас

Changed on

Запускает загрузку актуальных курсов валют. С датой from дополнительно догружает историю курсов ЦБ РФ всех валют кабинета с этой даты до первого записанного курса каждой; записанные курсы не меняются.

post/api/v1/core/currency-rates/refresh

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

Headers

X-Tenant, string required

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

Request body

CoreCurrencyRateRefreshInput required
from, string date

Дата начала истории курсов ЦБ РФ (ГГГГ-ММ-ДД). Необязательна.

Response

Число добавленных курсов

CoreCurrencyRateRefreshResult required
added, integer required

Changes

    • info

      added optional request body

    • 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