Intelup icon

Intelup

Interact with the Intelup API

Actions335

maintenance → Put Maintenance Maintenance Activity By Id

AI-generated

Summary

Updates an existing maintenance activity in the Intelup API by ID, sending a JSON body with the new field values (e.g. code and description) via a PUT request.

Inputs

  • version (required) — Intelup API version to target: 3.42.3 (default), 3.41.6, or 3.41.5.
  • id (required) — ID of the maintenance activity to update. It is URL-encoded and substituted into the request path.
  • body__putPublicMaintenanceMaintenanceActivityById (required) — JSON request body. The default example has codigo (activity code) and descricao (activity description). It must be valid JSON, or the node throws 'Body must be valid JSON'.

Output shape

One output item per input item. Each item's json is the parsed JSON response from the Intelup API for the update.

The request is sent to the credential's baseUrl with token, code and unit-code headers. The exact HTTP path comes from a generated catalog that isn't shown in the source. If Continue On Fail is enabled, a failed item returns { error: message } instead of stopping the workflow.

Examples

Example 1: Rename a maintenance activity's description

Version 3.42.3; Id = the activity's ID; Body = {"codigo":"ACT-01","descricao":"Quarterly inspection"}

Example 2: Update many activities from a spreadsheet

Feed rows into the node; set Id to {{$json.id}} and Body to an expression that builds the JSON from the row's fields.

Links

Discussion