academyFIVE API icon

academyFIVE API

Interact with academyFIVE API

Actions549

Modules [Beta] → Create a module

AI-generated

Summary

Create a new module in the academyFIVE system by providing complete module data including type, attributes, and relationships.

Inputs

  • data (required) — An object containing the module's type, attributes, and relationships. The attributes must include the required fields code (string), labelDe (German label string), and labelEn (English label string). Relationships must include areas, each with data entries specifying type and id strings.
  • additionalFields.current-site-id — Optional numeric ID of the currently active site to verify that the modules feature is enabled for this site.

Output shape

a JSON array where each item represents the created module's data as returned from the API call

The response is parsed as JSON and returned as an array of objects, each paired with the input item index. Errors can be handled with the "Continue On Fail" option, in which case errors appear as json with an error property.

Links

Discussion