academyFIVE API Beta icon

academyFIVE API Beta

Interact with academyFIVE API

Actions482

Subject-versions [Beta] → Assigns a study program to a subject version

AI-generated

Summary

Assigns a study program to a subject version by sending the specified relationship data to the academyFIVE API.

Inputs

  • subject-version-id (required) — The ID of the subject version to assign the study program to.
  • data.type (required) — The type for the assignment data.
  • data.relationships.studyProgram.data.type (required) — The type of the study program relationship data.
  • data.relationships.studyProgram.data.id (required) — The study program ID to assign.
  • data.attributes.materialShipping — Whether material shipping is required; defaults to false.
  • data.attributes.isMainStudyProgram — Whether this is the subject version’s main study program; defaults to false.
  • data.relationships.areasOfConcentration.data — Optional list of area-of-concentration relationship data. Each entry requires an ID and may include a type.

Output shape

A list of JSON items from the API response.

The request is sent to /api/v1/subject-versions/{subject-version-id}/study-programs. Each response item is paired with its input item. If Continue On Fail is enabled, failures produce an item with an error field.

Links

Discussion