CompleteTraining
Allows to complete training.
Requires: quality role.
Example usage:
mutation completeTraining {
completeTraining(trainings: ["sF3263dFT21", "sF3263dFT22"]) {
errors {
__typename
}
training {
id
}
}
}
where
â« trainings is a list of training ids (graphql ids) which will be completed.
Returns training list data. It is the same record which can be pulled from training query.
Fields
errors (
[AnyMutationError]
)
Mutation errors. Provides information about missing content or privilages
trainings (
[Training]
)
List of completed trainings