Skip to navigation

GetAssignment

View as Markdown

Get a single assignment.

Input variables

  • assignmentId: id of the assignment. Check the GetAssignments call

Same shape as an entry of GetAssignments. The assignment must belong to one of your school’s periods.

Path parameters

assignmentIdstringRequired

Headers

dreamclass-secret-keystringOptional

Your DreamClass API key. Required on every request. Find it in the DreamClass app under Settings > Integrations.

tenantstringOptional

Your tenant code: the DreamClass subdomain you sign in at (for https://myaccount.dreamclass.io it is “myaccount”), or your full white-labelled domain. Required on every request.

schoolCodestringOptional

Your school code. Required on every request. Find it in the DreamClass app under Settings > Integrations.

Response headers

Access-Control-Allow-OriginstringOptional
Access-Control-Allow-MethodsstringOptional
X-Content-Type-OptionsstringOptional
Cache-ControlstringOptional

Response

OK
idinteger
titlestring
instructionsstring
statusinteger
startDatedate
dueDatedate
dueTimestring
guidstring
electronicSubmissionboolean
allowLateSubmissionboolean
classCourseIdinteger
professorSemesterInfoIdinteger
simpleGradeIdinteger
createdAtdatetime
updatedAtdatetime