Marking codes

Найти марку и её историю

Changed on

Карточка марки по скану или коду без криптохвоста: товар, юрлицо, склад, где она числится сейчас (регистр marking_codes), последний известный статус ЧЗ и складские документы, где она стояла, свежие сверху (направление: пришла, ушла, перемещение). Работает без связи с ЧЗ — только учёт Akeda.

get/api/v1/marking/codes/trace

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

Query parameters

code, string required

Скан марки или код без криптохвоста

Headers

X-Tenant, string required

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

Response

Карточка марки

MarkingCodeTrace required
code, MarkingCode required

Строка реестра кодов. Полного кода с криптохвостом в ней нет никогда.

history, MarkingCodeTraceEntry[] 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 code/gismt_parent to the response with the status

    2 more changes in this revision