Intelup icon

Intelup

Interact with the Intelup API

Actions335

event → Put Event Group Motive By Id

AI-generated

Summary

Updates an existing event motive group in the Intelup (Fenix) API by ID, sending a JSON body with the new group details. The HTTP method and path come from a generated catalog not included in the source pack, so they are not shown here.

Inputs

  • version (required) — Intelup API version to target: 3.42.3 (default), 3.41.6, or 3.41.5. The parameters are identical across versions.
  • id (required) — ID of the event motive group to update. Substituted URL-encoded into the request path.
  • body__putPublicEventGroupMotiveById (required) — JSON request body, parsed before sending. An invalid JSON string raises 'Body must be valid JSON'. The Swagger-based example has gru_codigo (group code), gru_descricao (description), gru_apontamento_automatico (automatic logging flag, example 'S') and color (hex, e.g. '#000000').

Output shape

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

Requests are sent with the fenixApi credentials (token, code and unit-code headers) to the credential's base URL. The call runs once per input item. With Continue On Fail enabled, a failed item returns {error: message} instead of stopping the workflow.

Examples

Example 1: Rename a motive group and change its color

Version 3.42.3; Id set to the group's ID; Body: {"gru_codigo":"MAINT","gru_descricao":"Maintenance stops","gru_apontamento_automatico":"S","color":"#FF0000"}

Links

Discussion