Intelup icon

Intelup

Interact with the Intelup API

Actions335

maintenance → Post Maintenance Modalities

AI-generated

Summary

Creates a new maintenance modality in Intelup by sending a user-supplied JSON body to the public maintenance modalities endpoint (operation key postPublicMaintenanceModalities, an HTTP POST per the generated catalog).

Inputs

  • version (required) — Intelup API version to target: 3.42.3 (default), 3.41.6, or 3.41.5. Selects which operation definition is used.
  • body__postPublicMaintenanceModalities (required) — Body (JSON). Request payload, parsed with JSON.parse before sending. The default example is {"descricao": "Modality description"}, where descricao is the modality description. Invalid JSON throws 'Body must be valid JSON'.

Output shape

One output item per input item, with the parsed API response as the item's json.

The request runs once per input item, using the fenixApi credentials (baseUrl, token, code, unit-code headers). The exact response fields are not defined in the source. With Continue On Fail enabled, failed items return {error: message} instead of stopping the workflow. The endpoint path and HTTP method come from a generated catalog file that is not included in the source pack.

Examples

Example 1: Register a new maintenance modality named 'Preventive'

Version 3.42.3; Resource maintenance; Operation Post Maintenance Modalities; Body: {"descricao": "Preventive"}

Example 2: Create modalities from incoming items dynamically

Set Body (JSON) to an expression such as {{ JSON.stringify({ descricao: $json.name }) }} so each input item creates one modality.

Links

Discussion