Mutation
mutation UpdateTrainingScormState($input: UpdateTrainingScormStateInput!) {
updateTrainingScormState(input: $input) {
completed
progressPct
}
}Variables
{
"input": {
"actionId": "string",
"cmi": "value"
}
}Response
{
"data": {
"updateTrainingScormState": {
"completed": true,
"progressPct": 1
}
}
}Mutations
updateTrainingScormState
Records the state reported by a SCORM package for a training occurrence and returns whether the occurrence is complete and its progress.
MUTATION
updateTrainingScormState(input: UpdateTrainingScormStateInput!): ScormStateUpdate!Arguments
input
required
The package state to record.
Returns
completed
Boolean!
Whether the package has reported the training complete.
progressPct
Int!
Percentage of the content viewed, from 0 to 100.
Mutation
mutation UpdateTrainingScormState($input: UpdateTrainingScormStateInput!) {
updateTrainingScormState(input: $input) {
completed
progressPct
}
}Variables
{
"input": {
"actionId": "string",
"cmi": "value"
}
}Response
{
"data": {
"updateTrainingScormState": {
"completed": true,
"progressPct": 1
}
}
}