edubase_patch_exam
Update existing exam details including title, language, description, organization, times, and deadline. Adjust start time only before first result arrives.
Instructions
Update the details of an existing exam: title, external identifier, language, description, organization, start and end times, and deadline. The start time can only be changed until the first result arrives. Use edubase_post_exam_settings to change its settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | external unique exam identifier, send an empty value to remove the current identifier | |
| end | No | exam end time (in YYYY-MM-DD HH:ii:ss format) | |
| exam | Yes | exam identification string | |
| start | No | exam start time (in YYYY-MM-DD HH:ii:ss format), can only be changed until the first result arrives | |
| title | No | title of the exam | |
| deadline | No | latest date and time the exam can be started at (in YYYY-MM-DD HH:ii:ss format), should be within the exam period, send "none" (or an empty value) to remove the current deadline | |
| language | No | language of the exam | |
| description | No | description of the exam, basic HTML formatting is kept and scripts are removed, send an empty value to remove the current description | |
| organization | No | organization identification string to move the exam to, only an organization of the API application owner can be used, only the owner of the exam (or an administrator) can change the organization, send "none" (or an empty value) to remove the exam from its current organization, always the organization of the user for organizational members |