Intelup icon

Intelup

Interact with the Intelup API

Actions335

maintenance → Put Maintenance Labor Rules By Id

AI-generated

Summary

Updates an existing maintenance labor rule in Intelup by ID, sending a JSON body with the new description, value and active flag via a PUT request to the Intelup public API.

Inputs

  • version (required) — Intelup API version to target (3.42.3, 3.41.6 or 3.41.5). Defaults to 3.42.3. Selects which API snapshot's path and parameters are used.
  • id (required) — ID of the maintenance labor rule to update. Substituted into the request path (URL-encoded).
  • body__putPublicMaintenanceLaborRulesById (required) — JSON request body. The template shows the fields description (rule text), value (a date-time string in YYYY-MM-DDTHH:mm:ssZ format) and is_active (0 for false, 1 for true). The body must be valid JSON, otherwise the node throws 'Body must be valid JSON'.

Output shape

One output item per input item, with the parsed JSON response from the Intelup API in json.

The request is authenticated with the fenixApi credential's token, code and unit-code headers. The node runs once per input item. With Continue On Fail enabled, a failed item returns {error: message} instead of stopping the workflow. The exact response fields aren't defined in the source.

Examples

Example 1: Deactivate a labor rule

Version 3.42.3, Id set to the rule's ID, Body: {"description":"Standard labor rule","value":"2026-01-01T00:00:00Z","is_active":0}

Example 2: Update rules from earlier node data

Id as an expression like {{$json.id}}, Body built from an expression using the incoming item's fields; runs once per item.

Links

Discussion