Qualio Docs

API Documentation from the Qualio Team

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.

Input fields

suppressNotifications (Boolean)

Determines if email notifications will be sent on action

trainings ([ID])

List of trainings (IDs)

Return fields

errors ([AnyMutationError])

Mutation errors. Provides information about missing content or privilages

trainings ([Training])

List of completed trainings