academyFIVE API icon

academyFIVE API

Interact with academyFIVE API

Actions549

Exams [Beta] → Update an exam

AI-generated

Summary

Update an existing exam by specifying its identifier and desired changes in attributes and relationships.

Inputs

  • data (required) — The main data object defining the exam to update. It requires a 'type' string and an 'id' string identifying the exam. Optionally includes 'attributes' such as labels, valuation type, max points, timing, and other exam-specific metadata.
  • relationships — Associations related to the exam, including lecturers, assessors, exam approval, grading key, rooms, event date, and teaching languages. Each relationship can contain specific nested data defining linked entities by their IDs and types.

Output shape

a JSON array of updated exam objects or error messages for each input item processed.

Returns JSON data in an array. If the API response is binary, it returns binary data accordingly. Errors can be optionally continued on failure based on node settings.

Examples

Example 1: Update an exam's German and English labels and set its maximum points and date.

Set 'data' with required 'type' and 'id', fill in 'attributes' with labelDe, labelEn, maxPoints, and date.

Example 2: Add lecturers and rooms relationships to the exam during update.

Include 'relationships' with lecturers and rooms arrays specifying type and id for each related entity.

Links

Discussion