academyFIVE API icon

academyFIVE API

Interact with academyFIVE API

Actions549

Lecturer-contract-employment-availabilities → Update a lecturer contract employment availability

AI-generated

Summary

Update an existing lecturer contract employment availability by sending its type, id, and optional attribute fields such as dayOfWeek, startTime, and endTime. Optionally include relationships data to associate the availability with a lecturer contract.

Inputs

  • data.type (required) — The type of the lecturer contract employment availability entity.
  • data.id (required) — The unique identifier of the lecturer contract employment availability to update.
  • data.attributes.dayOfWeek — The day of the week for the employment availability.
  • data.attributes.startTime — The start time of the availability period.
  • data.attributes.endTime — The end time of the availability period.
  • relationships.lecturerContract.data.type — The type of the related lecturer contract.
  • relationships.lecturerContract.data.id — The ID of the related lecturer contract.

Output shape

a JSON array where each item represents the updated lecturer contract employment availability or an error object if the update fails for that input item.

Returns JSON data of the updated resource. Supports processing multiple input items sequentially. In case of failure with 'Continue On Fail' enabled, the output includes an error object with the failure message paired to the input item.

Links

Discussion