academyFIVE API icon

academyFIVE API

Interact with academyFIVE API

Actions549

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

AI-generated

Summary

Assigns a study program to the specified subject version by sending the required relationship data and optional assignment settings to the academyFIVE API.

Inputs

  • subject-version-id (required) — ID of the subject version to assign the study program to.
  • data.type (required) — Type for the assignment data.
  • data.relationships.studyProgram.data.type (required) — Type of the related study program.
  • data.relationships.studyProgram.data.id (required) — ID of the study program 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 areas of concentration, each with a required ID and optional type.

Output shape

A list of items containing the API response as JSON.

The request is sent to /api/v1/subject-versions/{subject-version-id}/study-programs. With Continue On Fail enabled, request errors are returned as JSON error items.

Links

Discussion