academyFIVE API Beta icon

academyFIVE API Beta

Interact with academyFIVE API

Actions482

Process-conditions [Beta] → Update a process condition

AI-generated

Summary

Updates an academyFIVE process condition by sending the supplied data and relationships in the API request body. Provide the condition type and ID, and configure its attributes and related sites and reports; access groups and study programs are optional.

Inputs

  • data (required) — Condition record to update. Requires type and id, plus attributes and relationships objects.
  • data.attributes (required) — Condition fields: optional isActive (defaults to false), reasonTypeId (1 = registration, 2 = de-registration, 3 = re-registration, 4 = requirement, 5 = check application), labelDe, labelEn, infoDe, and infoEn.
  • data.relationships (required) — Requires sites and reports relationships, each with one or more related records specified by type and id. Optionally include accessGroups and studyPrograms, also as lists of records with type and id. Report IDs refer to reports in noten_stat where simovative_id > 0.

Output shape

A list of items containing the API response as JSON.

Each response item is paired with its input item. If Continue On Fail is enabled, errors are returned as JSON items with an error field.

Links

Discussion