Marking boxes

Получить состав короба по скану SSCC

Changed on

Раскрывает короб по скану SSCC (GS1-128, подпись «(00) …» или 18 цифр) до кодов единиц сквозь вложенные короба. Свой короб — из своего состава; чужой — из снимка, а без снимка — из ГИС МТ методом /cises/aggregated/list от имени юрлица (нужен вход по УКЭП), снимок запоминается, коды заводятся в реестре юрлица без криптохвоста. У каждого кода printable — есть ли полный код для перепечатки этикетки.

post/api/v1/marking/boxes/resolve

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

Headers

X-Tenant, string required

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

Request body

MarkingBoxResolveInput required
company_id, string uuid required

Юрлицо, от имени которого читается ГИС МТ и заводятся коды

raw, string required

Скан SSCC

Response

Состав короба

MarkingBoxContent required
box, MarkingBox required
source, 'own' | 'gismt' required

Откуда состав

codes, MarkingBoxContentCode[] nullable 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 place to the response with the status

    2 more changes in this revision