---
title: "Получить операцию оператора по документу"
method: GET
path: "/api/v1/stock/wms/documents/{id}/operation"
tags: ["Stock warehouses"]
---

# Получить операцию оператора по документу

`GET /api/v1/stock/wms/documents/{id}/operation`

## Request

- Base URL: `https://erp.akeda.ru`
- URL: `https://erp.akeda.ru/api/v1/stock/wms/documents/{id}/operation`
- 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`
  - HTTP bearer

Карточка операции внешнего склада, к которой привязан наш документ: строки оператора и строки документа для сравнения «у нас / у оператора». Документ без операции — 404.

## Path parameters

- `id` string, uuid, required

## Headers

- `X-Tenant` string, required

## Response `200`

Карточка операции

- StockWMSOperationCard
  - [`StockWMSOperation`](https://skmtc.dev/akeda/apis/akeda-erp-client-api/revisions/084f7bbc939c/schema?at=%2Fcomponents%2Fschemas%2FStockWMSOperation)
  - object
    - `lines` StockWMSOperationLine[], required
      - `product_id` string, uuid, nullable
      - `product_name` string
      - `article` string
      - `lot` string
      - `expiry` string, nullable
      - `qty` string
      - `unit` string
      - `operator_product_id` string
      - `item_ids` string[]
      - `place_code` string
    - `document_lines` StockWMSOperationLine[], required
      - `product_id` string, uuid, nullable
      - `product_name` string
      - `article` string
      - `lot` string
      - `expiry` string, nullable
      - `qty` string
      - `unit` string
      - `operator_product_id` string
      - `item_ids` string[]
      - `place_code` string
    - `candidates` StockWMSOperationCandidate[], required
      - `target_kind` 'document' | 'order'
      - `target_id` string, uuid
      - `number` string
      - `title` string
      - `date` string
      - `score` integer
      - `reason` string
      - `exact` boolean

## Other responses

- `401`: Сессия, ключ или кабинет не подтверждены
- `403`: Текущая роль не имеет требуемого права
- `404`: Запись не найдена или не видима текущему пользователю

## Changes

- **2026-12-04** `62756b6cbb14`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/akeda/apis/akeda-erp-client-api/changes/api/v1/stock/wms/documents/:id/operation/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)
