---
title: Get list
slug: celsis/LCCO-get-list
docTags: 
createdAt: 2026-10-15T10:19:51.763Z
---

{
  "id": "svNPW9zJtQuPXaW5sZ0sH",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://celsis.frontu.dev/client/api/v2/integration/serial-numbers",
    "servers": [
      {
        "url": "https://celsis.frontu.dev/client/api/v2/integration/serial-numbers"
      }
    ],
    "name": "Get list",
    "description": "<p>Serial numbers are written by Frontu when a task is finished, one row per scanned serial number. I02_ID is generated by Frontu; filter by I02_ID01 (the I01_ID of the material line) to get the serial numbers of one line.</p>",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [
        {
          "kind": "optional",
          "name": "page",
          "type": "integer",
          "description": "",
          "default": 1
        },
        {
          "kind": "optional",
          "name": "items",
          "type": "integer",
          "description": "",
          "default": 100
        },
        {
          "kind": "optional",
          "name": "I02_ID01",
          "type": "integer",
          "example": 1246069,
          "description": "<p>Return only serial numbers of this material line (I01_ID). A line can have several serial numbers, so the result is always a list; an empty list means none were scanned for it yet.</p>"
        }
      ],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "Bearer",
          "name": "Authorization",
          "kind": "optional",
          "type": "apiKey",
          "description": "<p>Value: Bearer {access_token}</p>",
          "in": "header"
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "OK",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "schema": [
              {
                "name": "next_page",
                "kind": "optional",
                "type": "integer",
                "description": "",
                "example": 0
              },
              {
                "name": "items",
                "kind": "optional",
                "type": "array",
                "description": "",
                "modelRef": "#/components/schemas/cls_I02_TaskD_SerNr",
                "customType": "cls_I02_TaskD_SerNr[]",
                "schema": [
                  {
                    "name": "I02_ID",
                    "kind": "optional",
                    "type": "integer",
                    "description": "",
                    "example": 1
                  },
                  {
                    "name": "I02_ID01",
                    "kind": "optional",
                    "type": "integer",
                    "description": "",
                    "example": 1246069
                  },
                  {
                    "name": "I02_SerNr",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "",
                    "example": "SN-0001"
                  }
                ]
              }
            ],
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "400",
        "description": "<p>I02_ID01 is not an integer</p>",
        "jsonExample": "",
        "isExpanded": true
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "7P6yaFPlC_8FZVIryjDQ4",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url 'https://celsis.frontu.dev/client/api/v2/integration/serial-numbers?page=1&items=100' \\\n     --header 'accept: application/json'"
        },
        {
          "id": "cYN-ZqyKJ7MY10kod1Ue5",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://celsis.frontu.dev/client/api/v2/integration/serial-numbers?page=1&items=100\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "HpeftqRaiadxHJt95HGvx",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://celsis.frontu.dev/client/api/v2/integration/serial-numbers?page=1&items=100\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "RKNSHO669qlSsXd9ilvqy",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://celsis.frontu.dev/client/api/v2/integration/serial-numbers?page=1&items=100\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "7P6yaFPlC_8FZVIryjDQ4"
    },
    "results": {
      "languages": [
        {
          "id": "MkC910C5fHvn778S3NXJ5",
          "language": "200",
          "code": "// OK\n{\n  \"next_page\": 0,\n  \"items\": [\n    {\n      \"I02_ID\": 1,\n      \"I02_ID01\": 1246069,\n      \"I02_SerNr\": \"SN-0001\"\n    }\n  ]\n}"
        },
        {
          "id": "K3OmatdqzDNdFzoJw6boy",
          "language": "400",
          "code": "// I02_ID01 is not an integer\n"
        }
      ],
      "selectedLanguageId": "MkC910C5fHvn778S3NXJ5"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}