Qualio Docs

API Documentation from the Qualio Team

createDocument

Allows creating a new Qualio document.

Example usage:

  mutation createDocument {
    createDocument(title: "Document title", templateId: "DXepXXXXJyUh9F6CeVvvAxpBRw") {
      errors {
         __typename
      }
      document {
        id
      }
    }
  }

Input fields

approvers ([ID])

List of approvers (IDs)

effectiveOnApproval (Boolean)

Determines if document will be effective on approval

reviewers ([ID])

List of reviewers (IDs)

sections ([SectionInput])

List of sections

suppressNotifications (Boolean)

Determines if email notifications will be sent on action

tags ([ID])

List of document tags (IDs)

templateId (ID!)

Template Id

title (String!)

Document title

trainees ([ID])

List of trainees (IDs)

trainingRequired (Boolean)

Determines if training on new version of document will be required

Return fields

errors ([AnyMutationError])

Mutation errors. Provides information about missing content or privilages

document (Document)

Created document