academyFIVE API icon

academyFIVE API

Interact with academyFIVE API

Actions549

Data-source-field-option-groups [Beta] → Create a new data source field option group

AI-generated

Summary

Create a data-source field option group by sending its type, labels, option JSON, and related data-source field ID to the academyFIVE API.

Inputs

  • data.type (required) — Type of the option group.
  • data.attributes.labelDe (required) — German label.
  • data.attributes.labelEn (required) — English label.
  • data.attributes.fieldOptionsJson (required) — Field options as a JSON string.
  • data.relationships.field.data.type (required) — Type for the related field resource.
  • data.relationships.field.data.id (required) — ID of the data-source field to associate with the option group.

Output shape

A list of JSON items returned by the API, paired with their input item.

With Continue On Fail enabled, an item that errors instead returns a JSON object containing the error message.

Examples

Example 1: Create an option group for an existing data-source field.

Provide the group type, German and English labels, field options as a JSON string, and the related field's type and ID.

Links

Discussion