Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


The /results api returns only a link to a file - here, you can find the data model for the file containing the result exports for a test. This is based on a significantly expanded OneRoster specification.

Body

Code Block
languagetext
{
  "lineItemSourcedId": integer($int64),
  "ext_inspera_assessmentRunTitle": string,
  "ext_inspera_maxTotalScore": number($float),
  "ext_inspera_candidatesgroupName": array[Candidate],
}

Candidate

Code Block
languagetext
{string,
  "ext_inspera_first_section_metadata": array[metadata]
  "resultext_inspera_candidates": array[Candidate]
}

metadata

Code Block
languagetext
{
    "sourcedIdid": integer($int64),
    "statusname": string,
    "dateLastModifieddataType": string($date-time),
    "lineItem"valueText": TestInfo,
array[string]
}

Candidate

Code Block
languagetext
{
   "studentresult": StudentInfo,{
    "scoresourcedId": numberinteger($float$int64),
    "resultstatusstatus": string,
    "datedateLastModified": string($date-time),
    "commentlineItem": TeacherCommentTestInfo,
    "ext_inspera_candidateIdstudent": stringStudentInfo,
    "ext_inspera_attendancescore": booleannumber($float),
    "ext_inspera_startTimeresultstatus": string($date-time),
    "ext_inspera_endTimedate": string($date-time),
    "comment": TeacherComment,
    "ext_inspera_extraTimecandidateId": integer($int32)string,
    "ext_inspera_incidentTimeattendance": integer($int32)boolean,
    "ext_inspera_finalGradestartTime": string($date-time),
    "ext_inspera_finalGradeDateendTime": string($date-time),
    "ext_inspera_autoScoreextraTimeMins": number($float),
 integer($int32),
    "ext_inspera_incidentTimeMins": integer($int32),
    "ext_inspera_userAssessmentSetupId": integer($int64),
    "ext_inspera_userAssessmentId": integer($int64),
    "ext_inspera_candidateId": string,
    "ext_inspera_candidateExternalIds": array[ExternalId]
    "ext_inspera_finalGrade": string,
    "ext_inspera_finalGradeDate": string($date-time),
    "ext_inspera_autoScore": number($float),
    "ext_inspera_totalScore": number($float),
    "ext_inspera_questions": array[Question],
	"ext_inspera_externalDelivery": ExternalDelivery
  }
}

ExternalId

Code Block
languagetext
{
  "ext_inspera_authType": string,
  "ext_inspera_externalId": string
}

TestInfo

Code Block
languagetext
{
  "href": string,
  "sourcedId": integer($int64),
  "type": string
}

StudentInfo

Code Block
languagetext
{
  "href": string,
  "sourcedId": integer($int64),
  "type": string
}

TeacherComment

Code Block
languagetext
{
  "ext_inspera_comment": string,
  "ext_inspera_totalScoreevaluatorId": numberinteger($float$int64),
 
  "ext_inspera_questionsevaluatorName": array[Question]
  }string
}

...

Question

Code Block
languagetext
{
  "hrefext_inspera_question_type": string,
  "sourcedIdext_inspera_questionId": integer($int64),
  "type": string
}

StudentInfo

Code Block
languagetext
{,
  "hrefext_inspera_questionNumber": string,
  "sourcedIdext_inspera_maxQuestionScore": integernumber($int64$float),
  "typeext_inspera_durationSeconds": stringinteger($int32),
} 

TeacherComment

Code Block
languagetext
{   "ext_inspera_commentautoScore": stringnumber($float),
  "ext_inspera_evaluatorIdmanualScores": integer($int64)array[ManualScore],
  "ext_inspera_evaluatorNamecandidateResponses": stringarray[CandidateResponse]
}

...

ManualScore

Code Block
languagetext
 {
   "ext_inspera_questionIdgradingTeacherId": integer($int64),
   "ext_inspera_questionNumbergradingTeacherName": string,
   "ext_inspera_maxQuestionScoremanualScore": number($float),
 }

CandidateResponse

Code Block
languagetext
{
  "ext_inspera_durationSecondsresponse_identifier": integer($int32)string,
  "ext_inspera_autoScoreresponse": number($float)string,
  "ext_inspera_manualScoresinteractionValue": array[ManualScore]string,
  "ext_inspera_candidateResponsesinteractionLabel": array[CandidateResponse]
}

ManualScore

Code Block
languagetext
 {string,
   "ext_inspera_gradingTeacherIdinteractionAlternative": integer($int64)string,

  "ext_inspera_gradingTeacherNamefileName": string,

  "ext_inspera_manualScorefileUpload": number($float)string
 }

...

ExternalDelivery

Code Block
languagetext
{
  "ext_inspera_interactionIdexternalDeliveryId": stringinteger($int64),
  "ext_inspera_responseexternalDeliveryFileName": string,
  "ext_inspera_interactionAlternativeexternalFileUpload": string
}

Example output

Code Block
{
    "lineItemSourcedId": 123456,
    "ext_inspera_assessmentRunTitle": "Sample test",
    "ext_inspera_maxTotalScore": 120.0,
    "ext_inspera_candidates": [
        {"result":{
            "sourcedId": 7890123,
            "status": "NYI",
            "dateLastModified": "2017-03-31T12:35:50Z",
            "ext_inspera_candidateId": "00001",
            "ext_inspera_attendance": true,
            "ext_inspera_startTime": "2017-03-31T08:30:08Z",
            "ext_inspera_endTime": "2017-03-31T09:44:15Z",
            "ext_inspera_extraTime": 10,
            "ext_inspera_incidentTime": 0,
            "lineItem": {
                "href": "NYI",
                "sourcedId": 565656,
                "type": "lineitem"
            },
            "student": {
                "href": "NYI",
                "sourcedId": 456789,
                "type": "user"
            },
            "score": 79.0,
            "resultstatus": "NYI",
            "date": "2017-03-31T12:35:50Z",
            "comment": {
                "ext_inspera_comment": "Teacher comments on the test.",
                "ext_inspera_evaluatorId": 1209423,
                "ext_inspera_evaluatorName": "Firstname Lastname"
            },
            "ext_inspera_finalGrade": "C",
            "ext_inspera_finalGradeDate": "2017-03-31T12:35:50Z",
            "ext_inspera_autoScore": 79.0,
            "ext_inspera_totalScore": 81.0,
            "ext_inspera_questions": [
                {"ext_inspera_questionId": 123789,
                 "ext_inspera_questionNumber": "1",
                 "ext_inspera_durationSeconds": 30,
                 "ext_inspera_autoScore": 10.0,
                 "ext_inspera_maxQuestionScore": 50.0,
                 "ext_inspera_manualScores": [
                    {
                        "ext_inspera_gradingTeacherId": 1209423,
                        "ext_inspera_gradingTeacherName": "Firstname Lastname",
                        "ext_inspera_manualScore": 12.0
                    }
                 ],
                 "ext_inspera_candidateResponses": [
                     {"ext_inspera_interactionId": "simpleChoice_123456789",
                      "ext_inspera_response": "Option A",
                      "ext_inspera_interactionAlternative": 1.1
                     }
                 ]
                },
                {"ext_inspera_questionId": 123792,
                 "ext_inspera_questionNumber": "2",
                 "ext_inspera_duration": 20,
                 "ext_inspera_autoScore": 49.0,
                 "ext_inspera_maxQuestionScore": 50.0,
                 "ext_inspera_candidateResponses": [
                     {"ext_inspera_interactionId": "simpleChoice_1234544567",
                      "ext_inspera_response": "Option C",
                      "ext_inspera_interactionAlternative": 1.3
                     },
                     {"ext_inspera_interactionId": "simpleChoice_1234544569",
                      "ext_inspera_response": "Option D",
                      "ext_inspera_interactionAlternative": 1.4
                     }
                 ]
                },
                {"ext_inspera_questionId": 123795,
                 "ext_inspera_questionNumber": "3",
                 "ext_inspera_duration": 820,
                 "ext_inspera_autoScore": 0.0,
                 "ext_inspera_maxQuestionScore": 20.0,
                 "ext_inspera_manualScores": [
                    {
                        "ext_inspera_gradingTeacherId": 1209423,
                        "ext_inspera_gradingTeacherName": "Firstname Lastname",
                        "ext_inspera_manualScore": 20.0
                    }
                 ],
                 "ext_inspera_candidateResponses": [
                     {"ext_inspera_interactionId": "response",
                      "ext_inspera_response": "<complete html of the essay question>",
                      "ext_inspera_interactionAlternative": 1.1
                     }
                 ]
                }
            ]
        }},....
    ]
}

...