Intelup icon

Intelup

Interact with the Intelup API

Actions335

maintenance → Post Maintenance Service Order Type

AI-generated

Summary

Creates a maintenance service order type in Intelup (Fenix) by sending a JSON body to the public maintenance service-order-type endpoint, once per input item.

Inputs

  • version (required) — Intelup API version to target: 3.42.3 (default), 3.41.6 or 3.41.5. The body schema is identical across these versions.
  • body__postPublicMaintenanceServiceOrderType (required) — JSON body. Fields in the template: codigo (service order type code), descricao (description), tipo (one of PRP, MCU, MCP, NM). Must be valid JSON or the node throws 'Body must be valid JSON'. Can be set with an expression to use per-item data.

Output shape

One output item per input item, with the API's JSON response in the item's json field.

The HTTP method and path come from a generated version catalog that isn't included in the source, so they aren't shown here. Requests authenticate with the fenixApi credential (baseUrl, token, code and unit-code headers). If Continue On Fail is enabled, a failed item returns {error: message} instead of stopping the run.

Examples

Example 1: Register a new preventive maintenance order type

Version 3.42.3; body {"codigo":"PRV01","descricao":"Preventive routine","tipo":"MCP"}

Example 2: Bulk-create order types from a spreadsheet

Feed rows into the node; set body to an expression like {{ JSON.stringify({codigo: $json.code, descricao: $json.desc, tipo: $json.type}) }}

Links

Discussion