INPUT_OBJECT

CreateRegistrationInput

An input structure to create a registration using existing entity IDs. Provide exactly one of draft_company_id or draft_trainee_id.

link GraphQL Schema definition

  • input CreateRegistrationInput {
  • # Origin of the registration. If not provided, it will be set to 'API'
  • apiOrigin: String
  • # ID of existing draft company to register
  • draftCompanyId: ID
  • # ID of existing draft trainee to register
  • draftTraineeId: ID
  • # Inter-company registration? If true, training_session_id is required
  • inter: Boolean
  • # Number of learners to register (for company registrations)
  • learnerRegistrationCount: Int
  • # Root program to register to
  • programId: ID!
  • # Optional training session belonging to the program
  • trainingSessionId: ID
  • }