Skip to main content Skip to navigation

Retrieve a submission for an assignment

Retrieves a submission for an assignment.

Permission requirements

The user must have Permissions.Submission.Read ("View a coursework submission") on the assignment. By default, roles that have this permission are:

  • Marker
  • Module Auditor
  • Module Assistant
  • Module Manager
  • Departmental Administrator
  • User Access Manager

Information about API permissions

Definition

GET https://tabula.warwick.ac.uk/api/v1/module/:moduleCode/assignments/:assignmentId/submissions/:submissionId

URL substitution variables

:moduleCode The lowercase form of the module code for the assignment, e.g. cs118
:assignmentId The unique identifier for the assignment
:submissionId The unique identifier for the submission

Example request

GET https://tabula.warwick.ac.uk/api/v1/module/cs118/assignments/1a5b1b55-dd02-4a0c-83b7-29b90a771803/submissions/e322dc9a-3ff8-4ad7-9297-770d3e60194a

Response parameters

An unsuccessful response will be returned in the standard format. A successful response will return the HTTP code 200 OK and the following parameters:

success Boolean true
status The string "ok"
submission A submission object

Example response

{
  "success": true,
  "status": "ok",
  "submission": {
    "id": "e322dc9a-3ff8-4ad7-9297-770d3e60194a",
    "submittedDate": "2014-05-06T10:32:43+01:00",
    "suspectPlagiarised": false,
    "late": true,
    "wordCount": null,
    "downloaded": true,
    "authorisedLate": false,
    "attachments": [
      {
        "filename": "assignment_cover_sheet.doc",
        "id": "0286bdf6-7e1d-4090-b02e-7e7e3da6283a",
        "originalityReport": {
          "webOverlap": 0,
          "studentOverlap": 38,
          "publicationOverlap": 2,
          "similarity": 2,
          "reportUrl": "https://tabula.warwick.ac.uk/coursework/admin/module/es173/assignments/1a5b1b55-dd02-4a0c-83b7-29b90a771803/turnitin-report/0286bdf6-7e1d-4090-b02e-7e7e3da6283a",
          "overlap": 38
        }
      }
    ]
  }
}

Tabula API Methods