v1

latestOpenAPI 3.0.02026-07-2455104.8 MB
Production

View production

View a production

get/api/v1/productions/{id}

Path parameters

idstring required

Resource identifier.

Example:17

The resource's identifier.

Response

Productions view based on id

Example response

{
  "data": {
    "id": "1",
    "documentNumber": "",
    "bodyOutroduction": "",
    "date": "2024-03-13",
    "dateDelivery": null,
    "dateProvision": null,
    "dateProduction": null,
    "dateProductionEnd": null,
    "status": "created",
    "customer": null,
    "project": {
      "id": "1"
    },
    "salesOrder": null,
    "batch": null,
    "internalDesignation": "",
    "positions": [
      {
        "id": "1",
        "sort": 2,
        "quantity": 10,
        "unit": "",
        "product": {
          "id": "1",
          "number": "",
          "name": "",
          "description": "",
          "project": {
            "id": "1"
          },
          "freeFields": [
            {
              "id": "1",
              "value": "23"
            },
            {
              "id": "2",
              "value": "31"
            },
            {
              "id": "3",
              "value": ""
            },
            {
              "id": "4",
              "value": "12"
            },
            {
              "id": "5",
              "value": ""
            },
            {
              "id": "6",
              "value": ""
            },
            {
              "id": "7",
              "value": ""
            },
            {
              "id": "8",
              "value": ""
            },
            {
              "id": "9",
              "value": ""
            },
            {
              "id": "10",
              "value": ""
            },
            {
              "id": "11",
              "value": ""
            },
            {
              "id": "12",
              "value": ""
            },
            {
              "id": "13",
              "value": ""
            },
            {
              "id": "14",
              "value": ""
            },
            {
              "id": "15",
              "value": ""
            },
            {
              "id": "16",
              "value": ""
            },
            {
              "id": "17",
              "value": ""
            },
            {
              "id": "18",
              "value": ""
            },
            {
              "id": "19",
              "value": ""
            },
            {
              "id": "20",
              "value": ""
            },
            {
              "id": "21",
              "value": ""
            },
            {
              "id": "22",
              "value": ""
            },
            {
              "id": "23",
              "value": ""
            },
            {
              "id": "24",
              "value": ""
            },
            {
              "id": "25",
              "value": ""
            },
            {
              "id": "26",
              "value": ""
            },
            {
              "id": "27",
              "value": ""
            },
            {
              "id": "28",
              "value": ""
            },
            {
              "id": "29",
              "value": ""
            },
            {
              "id": "30",
              "value": ""
            },
            {
              "id": "31",
              "value": ""
            },
            {
              "id": "32",
              "value": ""
            },
            {
              "id": "33",
              "value": ""
            },
            {
              "id": "34",
              "value": ""
            },
            {
              "id": "35",
              "value": ""
            },
            {
              "id": "36",
              "value": ""
            },
            {
              "id": "37",
              "value": ""
            },
            {
              "id": "38",
              "value": ""
            },
            {
              "id": "39",
              "value": ""
            },
            {
              "id": "40",
              "value": ""
            }
          ]
        },
        "remark": "",
        "billOfMaterialLevel": 1,
        "hasChildren": false,
        "parent": {
          "id": "7"
        },
        "createdAt": "2025-06-05 00:00:00",
        "updatedAt": "2025-06-06 00:00:00"
      }
    ],
    "preferredWarehouse": null,
    "reservationType": "abschluss",
    "retrievalType": "sammel",
    "explodeSublists": true,
    "functionalTest": false,
    "displayWorkingStepTexts": true,
    "createSerialNumbers": true,
    "captureComponentSerialnumbers": false,
    "internalComment": "",
    "completed": false,
    "finalRemark": "",
    "customerCheckOk": true,
    "depletingOk": false,
    "partialProductionNumber": 0,
    "partialProductionOf": 0,
    "stockingOk": false,
    "stockOk": true,
    "log": {
      "createdAt": "2024-03-13",
      "createdBy": {
        "id": "1",
        "name": "admin"
      }
    }
  }
}