academyFIVE API icon

academyFIVE API

Interact with academyFIVE API

Actions549

Subject-versions [Beta] → Bulk assign study programs to a subject version

AI-generated

Summary

Bulk-assigns study programs to a subject version. Set the subject version ID and either provide study program relationships in data or enable meta.addAll to assign every accessible program that is not already assigned.

Inputs

  • subject-version-id (required) — ID of the subject version to update.
  • data (required) — One or more assignment entries. Each entry requires a type and a relationships.studyProgram.data object containing the study program's type and id. Optional attributes.materialShipping sets the material shipping flag for that entry.
  • meta.addAll — When true, assigns all study programs the user can access that are not yet assigned to this subject version. The API ignores data.
  • meta.materialShipping — Material shipping flag applied to all assignments when addAll is true; otherwise ignored.

Output shape

A list of JSON response items, one or more per input item depending on the API response.

On request failure, the node throws unless Continue On Fail is enabled; then it emits an item with an error field.

Links

Discussion