Tutorial - View Registration Results

Track Registration Progress



This is part of Upload Content, Register Learners, and Track Progress:

  1. Intro
  2. Upload your Content
  3. Register Learners
  4. Track Progress
  5. Recap

Get Registration Results

Now that we have a learner who has completed a course, we can use the Registration Service to get the results. This is as easy as calling GetRegistrationProgress. You’ll notice this call has a number of optional parameters to include extra information. Most people won’t need the full registration detail, so make sure you find the lowest detail level that is right for you to reduce processing cost on both our system, and your own. For our purposes here, we wont specify any of the include parameters, just the id of the registration we want to view.

Here’s our output from calling GetRegistrationProgress with my_reg_id:

{
  "id": "my_reg_id",
  "instance": 0,
  "xapiRegistrationId": "592efe60-8d99-4985-a399-8cff0c98436b",
  "updated": "2021-01-27T23:12:07Z",
  "registrationCompletion": "COMPLETED",
  "registrationCompletionAmount": 1,
  "registrationSuccess": "PASSED",
  "score": {
    "scaled": 93
  },
  "totalSecondsTracked": 44,
  "firstAccessDate": "2021-01-27T23:11:31Z",
  "lastAccessDate": "2021-01-27T23:12:07Z",
  "completedDate": "2021-01-27T23:12:07Z",
  "createdDate": "2021-01-27T23:10:38Z",
  "course": {
    "id": "my_course_id",
    "title": "Golf Explained - Run-time Advanced Calls",
    "version": 0
  },
  "learner": {
    "id": "my_learner_id",
    "firstName": "John",
    "lastName": "Doe"
  },
  "tags": [],
  "activityDetails": {
    "id": "golf_sample_default_org",
    "title": "Golf Explained - Run-time Advanced Calls",
    "attempts": 1,
    "activityCompletion": "COMPLETED",
    "activitySuccess": "PASSED",
    "score": {
      "scaled": 93
    },
    "staticProperties": {
      "completionThreshold": "",
      "launchData": "",
      "maxTimeAllowed": "",
      "scaledPassingScore": 0,
      "timeLimitAction": ""
    }
  }
}

We can see some important data here just from the default view. Things like the completion and success status, total time, and score are all available. With the additional flags (and the appropriately configured course package) you can drill down further into individual responses for each interaction.


Next up: Recap