Assignment Object

An assignment is the relationship between a User and a Guide.

The format for an assignment object is as follows:

{
    "id": "8f44e9fa-56ef-11e6-8622-06871305d8f3",
    "userId": 1955,
    "title": "Guide 1 Title",
    "courseId": "e585fd3e-509d-11e6-9bd0-06d818a6b395",
    "dueDate": 1469689200000,
    "numViewedTasks": 5,
    "numCompletedTasks": 3,
    "numCompletedTestQuestions": 2,
    "numGradedTestQuestions": 1,
    "numCorrectTestQuestions": 1,
    "score": 100,
    "isArchived": false,
    "isCompleted": false,
    "createdAt": 1469949758220.5452,
    "updatedAt": 1471145372226.347,
    "completedAt": null,
    "completionPercentage": 60
}
📘

"numGradedTestQuestions" and "numCorrectTestQuestions" are a combination of manual and automatic grading. Manual grading has to be completed by a collaborator or admin (open text questions, video recordings, etc.) and automatic grading (multiple choice) will be graded automatically if a correct answer is designated. Note: Automatic grading takes place every 10 mins or so, and will be graded by the "WorkRamp Bot".