---
title: Update by I00_ID
slug: celsis/update-by-i00id
createdAt: 2026-10-15T10:19:51.763Z
---

{
  "id": "14khMuiC0y-7blrRoiFHL",
  "type": "api-oas-v2",
  "data": {
    "method": "PUT",
    "url": "https://celsis.frontu.dev/client/api/v2/integration/tasks/{id}",
    "servers": [
      {
        "url": "https://celsis.frontu.dev/client/api/v2/integration/tasks/{id}"
      }
    ],
    "name": "Update by I00_ID",
    "description": "<p>Partial update — only the fields present in the body are changed, omitted fields keep their stored values.</p>\n<p>Rows are consumed by the frontu</p><div></div> importer, which picks up records where I00_TimeStamp00 is set and I00_TimeStamp01 is null, then stamps I00_TimeStamp01 on pickup. Editing a row that has already been imported changes the staging record only — send \"timestamp01\": null alongside the edit to requeue it so the change reaches the Frontu task.<p></p>\n<p>I00_Tipas, I00_Kodas_Po and I00_Kodas_Nr form the table primary key and identify the imported task (customCode / customNumber). Changing them to a combination that already exists fails with a 500; changing them to a free combination detaches the row from the task it was imported into.</p>",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "id",
          "type": "integer",
          "example": 248474,
          "description": ""
        }
      ],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [],
      "bodyDataParameters": [
        {
          "kind": "required",
          "name": "body",
          "type": "object",
          "description": "<p>Same fields as TaskRequest, all optional — omitted fields keep their stored values.</p>",
          "customType": "TaskUpdateRequest",
          "schema": [
            {
              "name": "tipas",
              "kind": "optional",
              "type": "string",
              "description": "",
              "example": "OP",
              "maxLength": 2
            },
            {
              "name": "kodasPo",
              "kind": "optional",
              "type": "string",
              "description": "",
              "example": "PO001",
              "maxLength": 12
            },
            {
              "name": "dokNr",
              "kind": "optional",
              "type": "string",
              "description": "",
              "example": "DOK-0001",
              "maxLength": 20
            },
            {
              "name": "opTip",
              "kind": "optional",
              "type": "integer",
              "description": "",
              "example": 1,
              "minimum": -128,
              "maximum": 127
            },
            {
              "name": "taskTipas",
              "kind": "optional",
              "type": "integer",
              "description": "",
              "example": 2,
              "minimum": -128,
              "maximum": 127
            },
            {
              "name": "data",
              "kind": "optional",
              "type": "string<date-time>",
              "description": "",
              "example": "2025-01-15 10:00:00",
              "format": "date-time"
            },
            {
              "name": "klientas",
              "kind": "optional",
              "type": "string",
              "description": "",
              "example": "UAB Test Client",
              "maxLength": 70
            },
            {
              "name": "klientoKodas",
              "kind": "optional",
              "type": "string",
              "description": "",
              "example": "KL001",
              "maxLength": 12
            },
            {
              "name": "objektoAdresas",
              "kind": "optional",
              "type": "string",
              "description": "",
              "example": "Vilniaus g. 1, Vilnius",
              "maxLength": 80
            },
            {
              "name": "pastaba",
              "kind": "optional",
              "type": "string",
              "description": "",
              "example": "Test task note",
              "maxLength": 1000
            },
            {
              "name": "timestamp00",
              "kind": "optional",
              "type": "string<date-time>",
              "description": "",
              "example": "2025-01-15 10:00:00",
              "format": "date-time"
            },
            {
              "name": "timestamp01",
              "kind": "optional",
              "type": "string<date-time>",
              "description": "",
              "example": "",
              "format": "date-time"
            },
            {
              "name": "timestamp02",
              "kind": "optional",
              "type": "string<date-time>",
              "description": "",
              "example": "",
              "format": "date-time"
            },
            {
              "name": "timestamp03",
              "kind": "optional",
              "type": "string<date-time>",
              "description": "",
              "example": "",
              "format": "date-time"
            },
            {
              "name": "timestamp04",
              "kind": "optional",
              "type": "string<date-time>",
              "description": "",
              "example": "",
              "format": "date-time"
            },
            {
              "name": "prioritetas",
              "kind": "optional",
              "type": "integer<int32>",
              "description": "",
              "example": 1,
              "format": "int32"
            },
            {
              "name": "mspav",
              "kind": "optional",
              "type": "string",
              "description": "<p>Required. Creator's first and last name, separated by a space (\"Vardas Pavardė\"), stored in I00_Ms_Pav. A missing or blank value is rejected with 400. The importer resolves it to the Frontu user with that name and surname; a row that still has no name and surname is not imported but reported in the integration log and retried on the next run once the field is filled in.</p>",
              "example": "Jonas Jonaitis",
              "maxLength": 40
            },
            {
              "name": "atrinko",
              "kind": "optional",
              "type": "string",
              "description": "",
              "example": "",
              "maxLength": 40
            },
            {
              "name": "kodasIs",
              "kind": "optional",
              "type": "string",
              "description": "<p>Office of the task, stored in I00_KODAS_IS and copied to the task's custom office. Tablets list an unassigned task (taskTipas 1 without sandUseris) only for users whose office title equals this value, so it is required there: a blank value is rejected with 400 (on update, when taskTipas, sandUseris or kodasIs is sent). A task imported as unassigned without it is reported in the integration log.</p>",
              "example": "IS001",
              "maxLength": 12
            },
            {
              "name": "kodasNr",
              "kind": "optional",
              "type": "integer<int32>",
              "description": "",
              "example": 1,
              "format": "int32"
            },
            {
              "name": "urlai",
              "kind": "optional",
              "type": "string",
              "description": "",
              "example": ""
            },
            {
              "name": "grupe",
              "kind": "optional",
              "type": "string",
              "description": "",
              "example": "GRP01",
              "maxLength": 20
            },
            {
              "name": "sandUseris",
              "kind": "optional",
              "type": "string",
              "description": "",
              "example": "",
              "maxLength": 12
            },
            {
              "name": "priskirtaRinkti",
              "kind": "optional",
              "type": "string<date-time>",
              "description": "",
              "example": "",
              "format": "date-time"
            },
            {
              "name": "rinkimoLaikas",
              "kind": "optional",
              "type": "integer",
              "description": "",
              "example": ""
            }
          ],
          "modelRef": "#/components/schemas/TaskUpdateRequest",
          "isExpanded": true
        }
      ],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "Bearer",
          "name": "Authorization",
          "kind": "optional",
          "type": "apiKey",
          "description": "<p>Value: Bearer {access_token}</p>",
          "in": "header"
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Updated",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "cls_I00_TaskH",
            "schema": [
              {
                "name": "I00_ID",
                "kind": "optional",
                "type": "integer",
                "description": "",
                "example": 248474
              },
              {
                "name": "I00_Tipas",
                "kind": "optional",
                "type": "string",
                "description": "",
                "example": "OP"
              },
              {
                "name": "I00_Kodas_Po",
                "kind": "optional",
                "type": "string",
                "description": "",
                "example": "PO001"
              },
              {
                "name": "I00_Dok_Nr",
                "kind": "optional",
                "type": "string",
                "description": "",
                "example": "DOK-0001"
              },
              {
                "name": "I00_Op_Tip",
                "kind": "optional",
                "type": "string",
                "description": "",
                "example": "1"
              },
              {
                "name": "I00_Task_Tipas",
                "kind": "optional",
                "type": "string",
                "description": "",
                "example": "2"
              },
              {
                "name": "I00_Data",
                "kind": "optional",
                "type": "string<date-time>",
                "description": "",
                "example": "2025-01-15 10:00:00",
                "format": "date-time"
              },
              {
                "name": "I00_Kl_Pav",
                "kind": "optional",
                "type": "string",
                "description": "",
                "example": "UAB Test Client"
              },
              {
                "name": "I00_Klientas",
                "kind": "optional",
                "type": "string",
                "description": "",
                "example": "KL001"
              },
              {
                "name": "I00_Kl_Adr",
                "kind": "optional",
                "type": "string",
                "description": "",
                "example": "Vilniaus g. 1, Vilnius"
              },
              {
                "name": "I00_Pastaba",
                "kind": "optional",
                "type": "string",
                "description": "",
                "example": "Test task note"
              },
              {
                "name": "I00_TimeStamp00",
                "kind": "optional",
                "type": "string<date-time>",
                "nullable": true,
                "description": "",
                "example": "2025-01-15 10:00:00",
                "format": "date-time"
              },
              {
                "name": "I00_TimeStamp01",
                "kind": "optional",
                "type": "string<date-time>",
                "nullable": true,
                "description": "",
                "example": "",
                "format": "date-time"
              },
              {
                "name": "I00_TimeStamp02",
                "kind": "optional",
                "type": "string<date-time>",
                "nullable": true,
                "description": "",
                "example": "",
                "format": "date-time"
              },
              {
                "name": "I00_TimeStamp03",
                "kind": "optional",
                "type": "string<date-time>",
                "nullable": true,
                "description": "",
                "example": "",
                "format": "date-time"
              },
              {
                "name": "I00_TimeStamp04",
                "kind": "optional",
                "type": "string<date-time>",
                "nullable": true,
                "description": "",
                "example": "",
                "format": "date-time"
              },
              {
                "name": "I00_Prioritetas",
                "kind": "optional",
                "type": "integer",
                "nullable": true,
                "description": "",
                "example": 1
              },
              {
                "name": "I00_Ms_Pav",
                "kind": "optional",
                "type": "string",
                "description": "Creator's first and last name as posted in mspav.",
                "example": "Jonas Jonaitis"
              },
              {
                "name": "I00_Atrinko",
                "kind": "optional",
                "type": "string",
                "description": "",
                "example": ""
              },
              {
                "name": "I00_KODAS_IS",
                "kind": "optional",
                "type": "string",
                "description": "",
                "example": "IS001"
              },
              {
                "name": "I00_Kodas_Nr",
                "kind": "optional",
                "type": "string",
                "description": "",
                "example": "1"
              },
              {
                "name": "urlai",
                "kind": "optional",
                "type": "string",
                "description": "",
                "example": ""
              },
              {
                "name": "I00_Grupe",
                "kind": "optional",
                "type": "string",
                "description": "",
                "example": "GRP01"
              },
              {
                "name": "SandUseris",
                "kind": "optional",
                "type": "string",
                "description": "",
                "example": ""
              },
              {
                "name": "I00_Priskirta_Rinkti",
                "kind": "optional",
                "type": "string<date-time>",
                "nullable": true,
                "description": "",
                "example": "",
                "format": "date-time"
              },
              {
                "name": "I00_Rinkimo_Laikas",
                "kind": "optional",
                "type": "string",
                "nullable": true,
                "description": "",
                "example": ""
              }
            ],
            "modelRef": "#/components/schemas/cls_I00_TaskH",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "400",
        "description": "Validation errors",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "TaskError",
            "schema": [
              {
                "name": "errors",
                "kind": "optional",
                "type": "object",
                "description": "",
                "example": "{\"data\":[\"This value should not be null.\"],\"klientas\":[\"This value is too long. It should have 70 characters or less.\"]}",
                "schema": []
              },
              {
                "name": "data",
                "kind": "optional",
                "type": "object",
                "description": "",
                "modelRef": "#/components/schemas/cls_I00_TaskH",
                "customType": "cls_I00_TaskH",
                "schema": [
                  {
                    "name": "I00_ID",
                    "kind": "optional",
                    "type": "integer",
                    "description": "",
                    "example": 248474
                  },
                  {
                    "name": "I00_Tipas",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "OP"
                  },
                  {
                    "name": "I00_Kodas_Po",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "PO001"
                  },
                  {
                    "name": "I00_Dok_Nr",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "DOK-0001"
                  },
                  {
                    "name": "I00_Op_Tip",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "1"
                  },
                  {
                    "name": "I00_Task_Tipas",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "2"
                  },
                  {
                    "name": "I00_Data",
                    "kind": "optional",
                    "type": "string<date-time>",
                    "description": "",
                    "example": "2025-01-15 10:00:00",
                    "format": "date-time"
                  },
                  {
                    "name": "I00_Kl_Pav",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "UAB Test Client"
                  },
                  {
                    "name": "I00_Klientas",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "KL001"
                  },
                  {
                    "name": "I00_Kl_Adr",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "Vilniaus g. 1, Vilnius"
                  },
                  {
                    "name": "I00_Pastaba",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "Test task note"
                  },
                  {
                    "name": "I00_TimeStamp00",
                    "kind": "optional",
                    "type": "string<date-time>",
                    "nullable": true,
                    "description": "",
                    "example": "2025-01-15 10:00:00",
                    "format": "date-time"
                  },
                  {
                    "name": "I00_TimeStamp01",
                    "kind": "optional",
                    "type": "string<date-time>",
                    "nullable": true,
                    "description": "",
                    "example": "",
                    "format": "date-time"
                  },
                  {
                    "name": "I00_TimeStamp02",
                    "kind": "optional",
                    "type": "string<date-time>",
                    "nullable": true,
                    "description": "",
                    "example": "",
                    "format": "date-time"
                  },
                  {
                    "name": "I00_TimeStamp03",
                    "kind": "optional",
                    "type": "string<date-time>",
                    "nullable": true,
                    "description": "",
                    "example": "",
                    "format": "date-time"
                  },
                  {
                    "name": "I00_TimeStamp04",
                    "kind": "optional",
                    "type": "string<date-time>",
                    "nullable": true,
                    "description": "",
                    "example": "",
                    "format": "date-time"
                  },
                  {
                    "name": "I00_Prioritetas",
                    "kind": "optional",
                    "type": "integer",
                    "nullable": true,
                    "description": "",
                    "example": 1
                  },
                  {
                    "name": "I00_Ms_Pav",
                    "kind": "optional",
                    "type": "string",
                    "description": "Creator's first and last name as posted in mspav.",
                    "example": "Jonas Jonaitis"
                  },
                  {
                    "name": "I00_Atrinko",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": ""
                  },
                  {
                    "name": "I00_KODAS_IS",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "IS001"
                  },
                  {
                    "name": "I00_Kodas_Nr",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "1"
                  },
                  {
                    "name": "urlai",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": ""
                  },
                  {
                    "name": "I00_Grupe",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": "GRP01"
                  },
                  {
                    "name": "SandUseris",
                    "kind": "optional",
                    "type": "string",
                    "description": "",
                    "example": ""
                  },
                  {
                    "name": "I00_Priskirta_Rinkti",
                    "kind": "optional",
                    "type": "string<date-time>",
                    "nullable": true,
                    "description": "",
                    "example": "",
                    "format": "date-time"
                  },
                  {
                    "name": "I00_Rinkimo_Laikas",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "",
                    "example": ""
                  }
                ]
              }
            ],
            "modelRef": "#/components/schemas/TaskError",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "404",
        "description": "Not found",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "schema": [
              {
                "name": "error",
                "kind": "optional",
                "type": "string",
                "description": "",
                "example": "Entity Not Found!"
              }
            ],
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "ZojCiDVIz8kHH13RSbIu8",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request PUT \\\n     --url https://celsis.frontu.dev/client/api/v2/integration/tasks/{id} \\\n     --header 'accept: application/json'"
        },
        {
          "id": "dVgl51MOTp4wvbqUG7FjX",
          "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: 'PUT',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://celsis.frontu.dev/client/api/v2/integration/tasks/{id}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "DQsw0lCgshPUFjxsfLkYy",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://celsis.frontu.dev/client/api/v2/integration/tasks/{id}\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "LOZA9DfHu8ySnxeGAWzL1",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://celsis.frontu.dev/client/api/v2/integration/tasks/{id}\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"PUT\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "ZojCiDVIz8kHH13RSbIu8"
    },
    "results": {
      "languages": [
        {
          "id": "response-0-200",
          "language": "200",
          "code": "// Updated\n{\n  \"I00_ID\": 248474,\n  \"I00_Tipas\": \"OP\",\n  \"I00_Kodas_Po\": \"PO001\",\n  \"I00_Dok_Nr\": \"DOK-0001\",\n  \"I00_Op_Tip\": \"1\",\n  \"I00_Task_Tipas\": \"2\",\n  \"I00_Data\": \"2025-01-15 10:00:00\",\n  \"I00_Kl_Pav\": \"UAB Test Client\",\n  \"I00_Klientas\": \"KL001\",\n  \"I00_Kl_Adr\": \"Vilniaus g. 1, Vilnius\",\n  \"I00_Pastaba\": \"Test task note\",\n  \"I00_TimeStamp00\": \"2025-01-15 10:00:00\",\n  \"I00_TimeStamp01\": \"\",\n  \"I00_TimeStamp02\": \"\",\n  \"I00_TimeStamp03\": \"\",\n  \"I00_TimeStamp04\": \"\",\n  \"I00_Prioritetas\": 1,\n  \"I00_Ms_Pav\": \"Jonas Jonaitis\",\n  \"I00_Atrinko\": \"\",\n  \"I00_KODAS_IS\": \"IS001\",\n  \"I00_Kodas_Nr\": \"1\",\n  \"urlai\": \"\",\n  \"I00_Grupe\": \"GRP01\",\n  \"SandUseris\": \"\",\n  \"I00_Priskirta_Rinkti\": \"\",\n  \"I00_Rinkimo_Laikas\": \"\"\n}"
        },
        {
          "id": "response-1-400",
          "language": "400",
          "code": "// Validation errors\n{\n  \"errors\": {},\n  \"data\": {\n    \"I00_ID\": 248474,\n    \"I00_Tipas\": \"OP\",\n    \"I00_Kodas_Po\": \"PO001\",\n    \"I00_Dok_Nr\": \"DOK-0001\",\n    \"I00_Op_Tip\": \"1\",\n    \"I00_Task_Tipas\": \"2\",\n    \"I00_Data\": \"2025-01-15 10:00:00\",\n    \"I00_Kl_Pav\": \"UAB Test Client\",\n    \"I00_Klientas\": \"KL001\",\n    \"I00_Kl_Adr\": \"Vilniaus g. 1, Vilnius\",\n    \"I00_Pastaba\": \"Test task note\",\n    \"I00_TimeStamp00\": \"2025-01-15 10:00:00\",\n    \"I00_TimeStamp01\": \"\",\n    \"I00_TimeStamp02\": \"\",\n    \"I00_TimeStamp03\": \"\",\n    \"I00_TimeStamp04\": \"\",\n    \"I00_Prioritetas\": 1,\n    \"I00_Ms_Pav\": \"Jonas Jonaitis\",\n    \"I00_Atrinko\": \"\",\n    \"I00_KODAS_IS\": \"IS001\",\n    \"I00_Kodas_Nr\": \"1\",\n    \"urlai\": \"\",\n    \"I00_Grupe\": \"GRP01\",\n    \"SandUseris\": \"\",\n    \"I00_Priskirta_Rinkti\": \"\",\n    \"I00_Rinkimo_Laikas\": \"\"\n  }\n}"
        },
        {
          "id": "response-2-404",
          "language": "404",
          "code": "// Not found\n{\n  \"error\": \"Entity Not Found!\"\n}"
        }
      ],
      "selectedLanguageId": "response-0-200"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}