Marking codes

Отметить расхождение сверки разобранным

Changed on

Ставит отметку «разобрано»: ключ действия (written_off, received, introduced, withdrawn, returned, disaggregated, ignored и т. п.), заметка и, если действие сделано документом, его id. Пустой resolution без заметки и документа снимает отметку. Сама отметка ничего не двигает: действие делается обычным документом склада или маркировки.

put/api/v1/marking/reconcile/items/{id}/resolution

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

Расхождение

Headers

X-Tenant, string required

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

Request body

MarkingReconcileResolveInput required
resolution, string

Ключ действия; пусто — снять отметку

note, string
document_id, string uuid

Response

Расхождение с отметкой

MarkingReconcileItem required
id, string uuid required
run_id, string uuid required
kind, 'stock_only' | 'gismt_only' | 'status_mismatch' required
reason, 'not_introduced' | 'retired' | 'other_owner' | 'not_found' | 'unknown' | 'not_in_registry' | 'not_on_stock' | 'in_aggregate' required

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

identity, string required

Код без криптохвоста

code_id, string uuid
warehouse_id, string uuid
product_id, string uuid
product_name, string
product_sku, string
gtin, string
group, string

Ключ товарной группы

gismt_status, string

Статус кода в ЧЗ

gismt_owner_inn, string

ИНН владельца по ЧЗ

gismt_parent, string

Агрегат, в который код вложен по ЧЗ

gismt_parent_set, boolean

Родитель — марка набора: по реестру или по снимку Нацкаталога

parent_product_id, string uuid
resolution, string

Ключ действия отметки «разобрано»

resolution_note, string
resolution_document_id, string uuid
resolved_by, integer
resolved_at, string date-time

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 gismt_parent_set to the response with the status

    1 more change in this revision