Marking codes

Получить расхождения сверки с ЧЗ

Changed on

Расхождения прогона порциями по коду и их число по фильтру (total). Фильтр по виду, подпричине и отметке «разобрано». limit по умолчанию 100, больше 500 не отдаётся. Работает без связи с ЧЗ.

get/api/v1/marking/reconcile/{id}/items

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

Path parameters

id, string uuid required

Прогон сверки

Query parameters

kind, 'stock_only' | 'gismt_only' | 'status_mismatch'

Вид расхождения

reason, 'not_introduced' | 'retired' | 'other_owner' | 'not_found' | 'unknown' | 'not_in_registry' | 'not_on_stock' | 'in_aggregate'

Подпричина расхождения. stock_only: not_introduced (эмитирован или нанесён, в оборот не введён), retired (выбыл: продан, списан, выведен), other_owner (в обороте у другого владельца), not_found (в ЧЗ такого кода нет), unknown (ЧЗ не назвал статус); gismt_only: not_in_registry (кода нет в реестре Akeda), not_on_stock (в реестре есть, на складах юрлица не числится); status_mismatch: in_aggregate.

Подпричина

resolved, boolean

true — только разобранные, false — только неразобранные

limit, integer
offset, integer

Headers

X-Tenant, string required

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

Response

Порция расхождений

MarkingReconcileItemPage required
items, MarkingReconcileItem[] required
total, integer required

Расхождений по фильтру

Changes

    • info

      added the optional property place to the response with the status

    • info

      added the optional property place to the response with the status

    • info

      added the optional property items/items/gismt_parent_set to the response with the status

    1 more change in this revision