Получить состояние прогона пересчёта стоимости
Changed onЧитает прогон, заведённый POST /api/v1/stock/valuation/rebuild. Пока status равен pending или running, поле result пусто, а progress и total показывают, сколько документов цепочки уже перепроведено. При status=completed приходит result, при status=failed — error. Доступ проверяется по документу прогона: чужой документ отвечает 404.
Request
- Base URLhttps://erp.akeda.ru
- Auth
- HTTP bearer
- or API key in header X-Api-Key
- or OAuth 2Authorization codehttps://erp.akeda.ru/oauth2/authorizeToken URLhttps://erp.akeda.ru/oauth2/tokenScopesakeda:delegate
- or HTTP bearer
Path parameters
Идентификатор прогона из ответа на запуск пересчёта
Headers
Slug выбранного кабинета; кабинет не является юрлицом
Response
Состояние прогона пересчёта
Сколько документов цепочки уже перепроведено
Сколько документов цепочки предстоит перепровести
Заполняется при status=failed
Changes
- info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status
7 more changes in this revision
- info