Intelup icon

Intelup

Interact with the Intelup API

Actions335

maintenance → Put Maintenance Status By Id

AI-generated

Summary

Updates an existing maintenance status in the Intelup (Fenix) API by ID, sending a JSON body with the status fields. The HTTP method and path come from a bundled version catalog not shown in the source pack.

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 status to update. URL-encoded and substituted into the request path.
  • body__putPublicMaintenanceStatusById (required) — JSON request body. The default example has codigo (status code, e.g. "INI"), descricao (description), block_os (0 or 1) and initial_status_os (0 or 1). The value must parse as valid JSON, otherwise the node throws 'Body must be valid JSON'.

Output shape

One output item per input item, whose json is the parsed API response body.

The request is sent once per input item, with token, code and unit-code headers taken from the fenixApi credential. If Continue On Fail is enabled, a failed item returns {error: message} instead of stopping the workflow. The version, resource and operation are read from the first item only. The default body's block_os and initial_status_os values are placeholder text ('0 - false, 1 - true'), so replace them with 0 or 1.

Examples

Example 1: Mark an existing maintenance status as the initial status and block service orders.

Version 3.42.3; Id = the status ID; Body = {"codigo":"INI","descricao":"Initial status","block_os":1,"initial_status_os":1}

Links

Discussion