Webhooks‎ > ‎

AttemptStatus

An AttemptStatus object reflects a participant's status for an attempt at a launch-able training item.

AttemptStatus Properties


clientId { "clientId" : "companyxyz" }

The client ID of the organization that the participant belongs to.
user { "id" : "b6e77692-60f3-4a1a-afcd-b97edb55fed2" }

{ "username" : "sleyhane" }

Information about the participant:
  • id: A 36-character globally unique identifier for the person.
  • username: The participant's username that is used for logging in.
activity { "id" : "88f95920-aab2-405a-980c-0561599b2241" }

{ "title" : "How To Be An Authentic Speaker" }

{ "type" : "course" }

{ "externalId" : "authentic_speaker_org" }


Information about the top-level training item:
  • id: A 36-character globally unique identifier for the item.
  • title: The title of the item in the organization's default language.
  • type: The type of training item.
  • externalId: An external identifier for the training item.
item { "id" : "0e4936c1-82d5-49c5-89e7-3c784dfd1b35" }

{ "title" : "How To Be An Authentic Speaker" }

{ "type" : "unknown" }

{ "externalId" : "authentic_speaker_sco" }


Information about the launch-able training item:
  • id: A 36-character globally unique identifier for the item.
  • title: The title of the item in the organization's default language.
  • type: The type of training item.
  • externalId: An external identifier for the training item.
attemptId { "attemptId" : "c657e081-37ca-4262-a17d-5a72f8960892" }

A 36-character globally unique identifier for the attempt.
attemptNumber { "attemptNumber" : 1 }

The participant's attempt number at this training item.
status { "status" : "passed" }

The participant's status for the training item. Can be one of "notStarted", "inProgress", "suspended", "active", "incomplete", "completed", "failed", "passed".
scoreScaled { "scoreScaled" : 0.7667 }

The particpant's score for the training item, if available. Scores are reported as a decimal between 0 and 1.
scoreRaw { "scoreRaw" : 2.0000 }

The participant's raw score for the attempt, if available. This is usually the number of questions answered correctly.
scoreMinimum { "scoreMinimum" : 0.0000 }

The minimum score achievable for the training item, if available. This is usually 0.
scoreMaximum { "scoreMaximum" : 5.0000 }

The maximum score achievable for the training item, if available. This is usually the total number of questions asked.
startedDateTime { "startedDateTime" : "2015-08-21T15:35:17" }

The date and time that the participant started the training item. The date and time is represented in the GMT/UTC time zone.
completedDateTime { "completedDateTime" : "2015-08-25T14:32:01" }

If completed, the date and time that the participant completed the training item. The date and time is represented in the GMT/UTC time zone.
durationSeconds { "durationSeconds" : 109.41 }

The number of seconds that the participant spent interacting with the training item.
dataSource { "dataSource" : "online" }

The way that the attempt data was captured - either by the LMS or by an administrator entering or importing the data. Can be one of "online", "offline".
interactions [{ "number" : 0 }

{ "id" : "Q_01" }

{ "questionType" : "choice" }

{ "description" : "Which is the best way to speak to a large audience?" }

{ "learnerResponse" : "R3" }

{ "correctResponse" : "R2" }

{ "result" : "incorrect" }

{ "weighting" : 1.000 }

{ "latencySeconds" : 42 }

{ "timestamp" : "2015-08-25T14:01:43" }]


An array of interaction information. Each interaction may represent a questions asked by the training item:
  • number: The interaction number, starting from 0.
  • questionType: The interaction type. Can be one of "true-false", "choice", "fill-in", "long-fill-in", "likert", "matching", "performance", "sequencing", "numeric", "other".
  • description: The interaction description, if available. This is usually used to store the question's text.
  • learnerResponse: The response selected or entered by the participant. This will depend on the interaction type, but will often be the identifier of the selected response.
  • correctResponse: The correct response. This will depend on the interaction type, but will often be the identifier of the correct response.
  • result: The interaction result. Can be one of "correct", "incorrect", "unanticipated", "neutral", "real".
  • weighting: The weight of the interaction, used by the training item to compute a total score.
  • latencySeconds: The time, in seconds, spent on the interaction, if available. The training item is responsible for setting this value.
  • timstamp: The date and time of the response, as set by the training item. The date and time is represented in the GMT/UTC time zone.