moodle_get_submission
Retrieve full submission details for one participant in an assignment: status, attempt, time, online text, attached files, grade, and teacher feedback.
Instructions
Full submission of one participant: status and attempt number, time, online text (as plain text), attached files (name, size, url for moodle_download_file), current grade and teacher feedback.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | Participant id (userId from moodle_list_submissions) | |
| assignmentId | Yes | Assignment id from moodle_list_assignments (the id field, NOT the cmid from the mod/assign/view.php?id=… URL) |