Procedure Templates

Update Procedure Template

Changed on
patch/proceduretemplates/{id}

Request

  • Base URL
    https://api.getmaintainx.com/v1
  • Auth
    HTTP bearer

Path parameters

idinteger required

ID of the procedure template

Query parameters

skipWebhookboolean

Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks

Request body

titlestring

Title of the procedure template

descriptionstring nullable

Description of the procedure template

Example request

{
  "fields": [
    {
      "label": "Metal Parts: broken, loose, dented, rusty, missing",
      "type": "INSPECTION_CHECK",
      "choices": [
        "Partially"
      ],
      "urls": [
        {
          "label": "MaintainX Website",
          "link": "www.getmaintainx.com"
        }
      ],
      "meterId": 1,
      "index": 1
    }
  ]
}

Response

Successfully edited the procedure template

Changes

    • breaking

      removed the media type application/octet-stream from the request body

    • breaking

      removed subschema #1 subschema #2 from the / request property anyOf list

    • info

      added the new optional query request parameter skipWebhook

    • info

      added the new optional request property

    • info

      added subschema #1 subschema #2 to the / request property anyOf list