Marking codes

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

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

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

Request

  • Base URL: https://erp.akeda.ru
  • URL: https://erp.akeda.ru/api/v1/marking/reconcile/items/{id}/resolution
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Api-Key
    • OAuth 2 (authorization code, authorization URL https://erp.akeda.ru/oauth2/authorize, token URL https://erp.akeda.ru/oauth2/token, scopes: akeda:delegate)

Path parameters

idstring uuid required

Расхождение

Headers

X-Tenantstring required

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

Request body

resolutionstring

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

notestring
document_idstring uuid

Response

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

idstring uuid required
run_idstring 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.

identitystring required

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

code_idstring uuid
warehouse_idstring uuid
product_idstring uuid
product_namestring
product_skustring
gtinstring
groupstring

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

gismt_statusstring

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

gismt_owner_innstring

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

gismt_parentstring

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

resolutionstring

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

resolution_notestring
resolution_document_idstring uuid
resolved_byinteger
resolved_atstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.