---
title: "Получить историю кода в ЧЗ"
method: GET
path: "/api/v1/marking/codes/{id}/gismt-history"
tags: ["Marking codes"]
---

# Получить историю кода в ЧЗ

`GET /api/v1/marking/codes/{id}/gismt-history`

## Request

- Base URL: `https://erp.akeda.ru`
- URL: `https://erp.akeda.ru/api/v1/marking/codes/{id}/gismt-history`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Api-Key`
  - OAuth 2
    - Authorization code: `https://erp.akeda.ru/oauth2/authorize`
    - Token URL: `https://erp.akeda.ru/oauth2/token` scopes: `akeda:delegate`

Движение кода реестра в «Честном знаке» (`/cises/history`) по входу юрлица кода: статус, владелец, дата операции и номер документа ЧЗ по событиям, в которых участвовало юрлицо. По одному коду за запрос. Операций нет — пустой список. Ничего не меняет ни в ЧЗ, ни в кабинете. Без живого входа — 409 `marking.gismt.unauthorized`.

## Path parameters

- `id` string, uuid, required

## Headers

- `X-Tenant` string, required

## Response `200`

События кода

- MarkingCisHistory
  - `items` object[], nullable, required
    - `operation_date` string: Дата документа, которым менялся статус
    - `timestamp` string: Отметка времени события
    - `status` string: Статус кода после события
    - `owner_inn` string: ИНН владельца
    - `owner_name` string: Наименование владельца
    - `doc_id` string: Номер документа ЧЗ
    - `turnover_type` string: Тип отгрузки: SELLING — продажа, CONTRACT — передача по АКС
    - `parent` string: Родительский код
    - `produced_date` string: Дата производства
    - `product_group` string: Товарная группа

## Other responses

- `400`: Идентификатор кода не распознан
- `401`: Сессия, ключ или кабинет не подтверждены
- `403`: Текущая роль не имеет требуемого права
- `404`: Кода нет в реестре или он недоступен
- `409`: Вход юрлица в ГИС МТ или СУЗ истёк или не выполнен (`marking.gismt.unauthorized`, `marking.oms.unauthorized`), не заданы OMS ID и соединение (`marking.oms.not_configured`) или сохранённый вход не читается. Войти может только человек по УКЭП в браузере.
- `422`: ГИС МТ или СУЗ отказали по существу (`marking.gismt.declined`, `marking.oms.declined`); `detail` передаёт отказ словами оператора.
- `429`: ГИС МТ или СУЗ просят подождать (`marking.gismt.rate_limited`, `marking.oms.rate_limited`). Повторите через минуту.

## Changes

- **2026-11-26** `25c63e470433`: 5 info
  - added the optional property `place` to the response with the `400` status
  - added the optional property `place` to the response with the `404` status
  - added the optional property `place` to the response with the `409` status
  - added the optional property `place` to the response with the `422` status
  - …1 more
- **2026-11-06** `48d2653b43d2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/akeda/apis/akeda-erp-client-api/changes/api/v1/marking/codes/:id/gismt-history/get.md)

---

[API](https://skmtc.dev/akeda/apis/akeda-erp-client-api.md) - [All operations](https://skmtc.dev/akeda/apis/akeda-erp-client-api/llms.txt) - [OpenAPI document](https://skmtc.dev/akeda/apis/akeda-erp-client-api/revisions/084f7bbc939c?raw)
