academyFIVE API icon

academyFIVE API

Interact with academyFIVE API

Actions549

Course-series-lecturers [Beta] → Assign a lecturer to a course series

AI-generated

Summary

Assign a lecturer to a specified course series by providing detailed data including type, weekly hours, and relationships to the lecturer and course series.

Inputs

  • data (required) — Includes required type (string), attributes with hoursPerWeek (number), and relationships linking the lecturer and course series by their type and ID.

Output shape

a JSON object representing the result of the assignment operation

The output is returned as JSON data including the response of the API call. Errors are handled per item if 'Continue On Fail' is enabled, otherwise they throw.

Examples

Example 1: Assign a lecturer with a specified ID to a course series with a given ID, specifying the lecturer's weekly hours.

Set 'data.type' to the required type string, 'attributes.hoursPerWeek' with the number of hours, 'relationships.lecturer.data.type' and 'id' with the lecturer type and ID, and 'relationships.courseSeries.data.type' and 'id' with the course series type and ID.

Links

Discussion