Marking orders

Разобрать заново неразобранные коды заказа

Changed on

Коды, что СУЗ выдала, но в реестр они не легли (не разобрались по формату группы или числятся за другим юрлицом), хранятся шифротекстом. Вызов разбирает их заново: разобравшиеся ложатся в реестр штатным путём — новой строкой или привязкой строки юрлица, с номером в заказе, — остальные остаются с новой причиной. В СУЗ не ходит, received не меняет.

post/api/v1/marking/orders/{id}/rejects/reparse

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 выбранного кабинета; кабинет не является юрлицом

Response

Итог разбора

MarkingOrderReparseResult required
order, MarkingCodeOrder required
received_now, integer required

Легло в реестр сейчас

bound, integer required
duplicates, integer required
rejected, integer required

Осталось неразобранными по формату

conflicts, integer required

Осталось за другим юрлицом

Changes

    • info

      added the required property order/items/items/permit 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

    1 more change in this revision