Intelup icon

Intelup

Interact with the Intelup API

Actions335

maintenance → Put Maintenance Preventive Services By Id

AI-generated

Summary

Updates a preventive maintenance service record in Intelup by ID, sending a JSON body with the new field values via an HTTP PUT request to the public maintenance preventive-services endpoint.

Inputs

  • version (required) — Intelup API version to target: 3.42.3 (default), 3.41.6, or 3.41.5. It selects which operation definition is used.
  • id (required) — ID of the preventive service to update. It is URL-encoded and substituted into the request path.
  • body__putPublicMaintenancePreventiveServicesById (required) — JSON request body (shown as 'Body (JSON)'). The default example contains codigo (code), descricao (description) and tipo_servico (type of service). Must be valid JSON or the node throws 'Body must be valid JSON'.

Output shape

One output item per input item, whose json is the parsed API response from the PUT request.

The request is sent once per input item using the fenixApi credentials (token, code and unit-code headers, plus base URL). With Continue On Fail enabled, a failed item returns {error: message} instead of stopping the workflow. The exact response fields are not defined in the node source.

Examples

Example 1: Rename a preventive service and change its type.

Version 3.42.3; Id set to the service ID (e.g. from a previous node); Body JSON: {"codigo":"PM-01","descricao":"Monthly inspection","tipo_servico":"Inspection"}.

Links

Discussion