academyFIVE API icon

academyFIVE API

Interact with academyFIVE API

Actions549

Curriculum-entries → Replaces the prerequisite categories for a category curriculum entry.

AI-generated

Summary

Replace the prerequisite categories for a specific category curriculum entry by updating its relationships with new presupposed category entries.

Inputs

  • curriculumEntryId (required) — Identifier of the source category curriculum entry whose prerequisite categories are being replaced.
  • data (required) — An object specifying the type and the relationships with new presupposed categories, where each presupposed category is identified by its type and id within the same curriculum.

Output shape

a JSON object containing the updated curriculum entry relationships as returned by the API

The operation sends a PATCH request with nested data describing the updated prerequisite categories. It returns the API response as a JSON array of updated entries. Errors are returned with an error message in the JSON if 'Continue On Fail' is enabled.

Links

Discussion