---
title: "View production"
method: GET
path: "/api/v1/productions/{id}"
tags: ["Production"]
---

# View production

`GET /api/v1/productions/{id}`

View a production

## Path parameters

- `id` string, required — Resource identifier.

## Response `200`

Productions view based on id

- object
  - `data` object, required — An entity of production response
    - `id` string, required — Resource identifier.
    - `documentNumber` string, required — documentNumber
    - `bodyOutroduction` string, required — BodyOutroduction of the production
    - `date` string, date, required — Production Date
    - `dateDelivery` string, date, nullable, required — Production Delivery Date
    - `dateProvision` string, date, nullable, required — Provision Date
    - `dateProduction` string, date, nullable, required — Production Date
    - `dateProductionEnd` string, date, nullable, required — Production End Date
    - `status` string, required — Production Status
    - `customer` object, nullable, required — Customer of the production
      - `id` string — Resource identifier.
    - `project` object, nullable, required — Project of the production
      - `id` string — Resource identifier.
    - `salesOrder` object, nullable, required — Sales Order of the production
      - `id` string — Resource identifier.
    - `batch` string, nullable, required — Batch of the production
    - `internalDesignation` string, required — Internal Designation of the production
    - `positions` object[], required — Positions of the production
      - `id` string — Resource identifier.
      - `sort` integer — Sort order of the position
      - `quantity` number, float — Quantity of the position
      - `unit` string — Unit of the position
      - `product` object
        - `id` string — Resource identifier.
        - `number` string — Product number
        - `name` string — Product name
        - `description` string — Product description
        - `project` object
          - `id` string — Resource identifier.
        - `freeFields` object[]
          - `id` string — Resource identifier.
          - `value` string — Value of the free field
      - `remark` string — Remark for the product
      - `billOfMaterialLevel` integer, nullable — Bill of Material Level of the product
      - `hasChildren` boolean — Indicates if the product has children
      - `parent` object, nullable — Parent ID of the product
        - `id` string — Resource identifier.
      - `createdAt` string, date-time — Time when the position was created
      - `updatedAt` string, date-time — Time when the position was last updated
    - `preferredWarehouse` object, nullable, required — Preferred Warehouse of the production
      - `id` string — Resource identifier.
    - `reservationType` string, required — Reservation Type of the production
    - `retrievalType` string, required — Retrieval Type of the production
    - `explodeSublists` boolean, required — Explode Sublists of the production
    - `functionalTest` boolean, required — Functional Test of the production
    - `displayWorkingStepTexts` boolean, required — Display Working Step Texts of the production
    - `createSerialNumbers` boolean, required — Create Serial Numbers of the production
    - `captureComponentSerialnumbers` boolean, required — Capture Component Serialnumbers of the production
    - `internalComment` string, required — Internal Comment of the production
    - `completed` boolean, required — Completed of the production
    - `finalRemark` string, required — Final Remark of the production
    - `customerCheckOk` boolean, required — Customer Check Ok of the production
    - `depletingOk` boolean, required — Depleting Ok of the production
    - `partialProductionNumber` integer, required — Partial Production Number of the production
    - `partialProductionOf` integer, required — Partial Production of the production
    - `stockingOk` boolean, required — Stocking Ok of the production
    - `stockOk` boolean, required — Stock Ok of the production
    - `log` object, required — log of the production
      - `createdAt` string, date
      - `createdBy` object
        - `id` string
        - `name` string

## Other responses

- `400` — IETF RFC 9457 Problem API compliant response
- `401` — Unable to authenticate the client
- `404` — Resource was not found or not enough access privileges
- `406` — Requested resource representation does not exist.
- `429` — Too many API calls made.

---

[API](https://skmtc.net/xentral/apis/xentral-api.md) · [All operations](https://skmtc.net/xentral/apis/xentral-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xentral/xentral-api/revisions/8a27ba392442/schema)
