---
title: Create / Update Equipments
slug: create-update-equipments
docTags: 
createdAt: 2026-10-08T08:29:29.588Z
---

{
  "id": "V3x_Yhcph-3SDr_nuNlu5",
  "type": "api-oas-v2",
  "data": {
    "method": "POST",
    "url": "https://dev1.frontu.com//client/api/v2/equipments",
    "servers": [
      {
        "url": "https://dev1.frontu.com//client/api/v2/equipments"
      }
    ],
    "name": "Create / Update Equipments",
    "description": "<p>This endpoint allows to update or create equipments values.</p>\n<p>Example how to use custom values:</p>\n<p>You need to specify it for example like this:</p>\n<p>first value is guid of the custom field (for this case you can select all custom fields in this endpoint - <a href=\"https://tasker.stoplight.io/docs/tasker-api-v2/tasker_swagger.json/paths/~1client~1api~1v2~1customfields~1equipments/post\" target=\"_blank\">https://tasker.stoplight.io/docs/tasker-api-v2/tasker_swagger.json/paths/~1client~1api~1v2~1customfields~1equipments/post</a> ), and second is value of the custom field.\n\"customValues\":\n{\n\"f889fbe9-9d9b-3c8a-8549-e321ee7e3e34\": \"Custom Value\",\n\"f889fbe9-9d9b-3c8a-8549-e321ee7e3e35\": \"Custom Value 2\",\n\"f889fbe9-9d9b-3c8a-8549-e321ee7e3e38\": \"2\"\n}</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": [],
      "bodyDataParameters": [
        {
          "kind": "optional",
          "name": "body",
          "type": "object",
          "description": "",
          "schema": [
            {
              "name": "title",
              "kind": "optional",
              "type": "string",
              "description": "Equipment title"
            },
            {
              "name": "guid",
              "kind": "optional",
              "type": "string",
              "description": "Identifier from Frontu"
            },
            {
              "name": "deleted",
              "kind": "optional",
              "type": "boolean",
              "description": "<p>Mark if entity is archived (1) or active (0)</p>"
            },
            {
              "name": "systemId",
              "kind": "optional",
              "type": "string",
              "description": "Identifier from external system"
            },
            {
              "name": "workspace",
              "kind": "optional",
              "type": "string",
              "description": "Workspace identifier guid"
            },
            {
              "name": "equipmentModel",
              "kind": "optional",
              "type": "string",
              "description": "Equipment model identifier guid"
            },
            {
              "name": "serialNumber",
              "kind": "optional",
              "type": "string",
              "description": ""
            },
            {
              "name": "installDate",
              "kind": "optional",
              "type": "string",
              "description": "When the equipment are installed"
            },
            {
              "name": "warrantyExpirationDate",
              "kind": "optional",
              "type": "string",
              "description": "When the warranty expiration"
            },
            {
              "name": "nextMaintenanceDate",
              "kind": "optional",
              "type": "string",
              "description": "Next maintenance date"
            },
            {
              "name": "note",
              "kind": "optional",
              "type": "string",
              "description": ""
            },
            {
              "name": "paidBy",
              "kind": "optional",
              "type": "string",
              "description": ""
            },
            {
              "name": "customValues",
              "kind": "optional",
              "type": "string",
              "description": "<p>JSON object for custom field data (for example \"guid\": \"value\")</p>"
            },
            {
              "name": "location",
              "kind": "optional",
              "type": "string",
              "description": "Directions where to find equipment in the building"
            }
          ],
          "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": "OK",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "schema": [],
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "400",
        "description": "Bad Request",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "schema": [
              {
                "name": "code",
                "kind": "required",
                "type": "string",
                "description": "",
                "minLength": 1
              },
              {
                "name": "message",
                "kind": "required",
                "type": "string",
                "description": "",
                "minLength": 1
              },
              {
                "name": "errors",
                "kind": "required",
                "type": "object",
                "description": "",
                "example": "",
                "schema": [
                  {
                    "name": "errors",
                    "kind": "required",
                    "type": "array",
                    "description": "",
                    "example": "",
                    "itemType": "object",
                    "customType": "object[]",
                    "schema": []
                  }
                ]
              }
            ],
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "pX2Ce8z8wfQV0AGRVahBl",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request POST \\\n     --url https://dev1.frontu.com//client/api/v2/equipments \\\n     --header 'accept: application/json'"
        },
        {
          "id": "vCPSQdMbUeJEiFYQsE8Ud",
          "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: 'POST',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://dev1.frontu.com//client/api/v2/equipments\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "y5O8HGxOUzvaZIskBIujD",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://dev1.frontu.com//client/api/v2/equipments\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "soB6BG7ENNZ_xYyYoVhEK",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://dev1.frontu.com//client/api/v2/equipments\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "pX2Ce8z8wfQV0AGRVahBl"
    },
    "results": {
      "languages": [
        {
          "id": "qZHqeV6v5JHl-y9LPaZ06",
          "language": "200",
          "code": "// OK\n{}"
        },
        {
          "id": "OXODBGlyk__iy4Pzu5qxH",
          "language": "400",
          "code": "// Bad Request\n{\n  \"code\": \"\",\n  \"message\": \"\",\n  \"errors\": {\n    \"errors\": [\n      {}\n    ]\n  }\n}"
        }
      ],
      "selectedLanguageId": "qZHqeV6v5JHl-y9LPaZ06"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}