Skip to main content
QUERY
trainingOccurrenceByEvent(dueDate: DateTime!, trainingId: String!, userId: String!): ActionToTrainingAssignment

Arguments

dueDate
DateTime!
required

Due date of the occurrence.

trainingId
String!
required

Id of the training the occurrence belongs to.

userId
String!
required

Id of the user the occurrence is assigned to.

action

The action that tracks this occurrence.

actionId
ID!

Id of the 'TRAINING' action that tracks this occurrence.

The training assignment this occurrence was issued under.

assignmentId
ID!

Id of the training assignment this occurrence belongs to.

present
Boolean

Whether the learner was marked as attended, for in-person trainings.

progressPct
Int

How much of the training content the learner has viewed, from 0 to 100.

quizAnswers
JSON

The answers the learner submitted to the training quiz.

scormNotPassed
Boolean!

Whether the SCORM package reported that the learner failed it.

training

The training, at the version the occurrence was issued against.

Query
Variables
Response