academyFIVE API Beta icon

academyFIVE API Beta

Interact with academyFIVE API

Actions482

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

AI-generated

Summary

Bulk-assigns study programs to the specified subject version. Provide one or more study program relationships in data, or set 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) — A list of assignments. Each entry requires a type and a relationships.studyProgram.data object containing the study program type and id. Optionally set attributes.materialShipping for an individual assignment.
  • meta.addAll — When true, assigns all study programs the user can access that are not already assigned to this subject version. The source properties say this ignores the data array.
  • meta.materialShipping — Material shipping flag applied to all assignments when addAll is true; otherwise ignored, with per-assignment attributes.materialShipping used instead.

Output shape

A list of JSON items from the API response, paired with their input items.

The node sends the request for each incoming item and returns the API response as JSON. With Continue On Fail enabled, a failed request produces an item with an error field. The source does not establish the exact response fields.

Links

Discussion