OBJECT

RootMutationType

link GraphQL Schema definition

  • type RootMutationType {
  • # DEPRECATED - Set an end date to an abandon when the trainee joins the training
  • # again - DEPRECATED commme au dessus
  • #
  • # Arguments
  • # id: [Not documented]
  • abandonRecovery(id: ID!): Abandon @deprecated
  • # Add a training session instructor to a training session slot. Make sure you
  • # already added the instructor to the training session and you are using the id of
  • # the training session instructor and not the id of the instructor.
  • #
  • # Arguments
  • # slotId: [Not documented]
  • # trainingSessionInstructorId: ID of the training session
  • # instructor. Training session instructor does not have the same ID as the
  • # instructor it refer. Be sure you added the instructor to the session before you
  • # add it to a slot.
  • addInstructorToSlot(
  • slotId: ID!,
  • trainingSessionInstructorId: ID!
  • ): TrainingSessionInstructorSlot
  • # Add an existing instructor to an existing training_session
  • #
  • # Arguments
  • # contractAccepted: [Not documented]
  • # cost: [Not documented]
  • # costMode: [Not documented]
  • # days: [Not documented]
  • # hours: [Not documented]
  • # instructorId: [Not documented]
  • # subcontractingBpf: [Not documented]
  • # trainingSessionId: [Not documented]
  • # tutoringType: [Not documented]
  • # vat: [Not documented]
  • addInstructorToTrainingSession(
  • contractAccepted: Boolean,
  • cost: Float,
  • costMode: InstructorCostMode,
  • days: Float,
  • hours: Float,
  • instructorId: ID!,
  • subcontractingBpf: Boolean,
  • trainingSessionId: ID!,
  • tutoringType: InstructorTutoringType,
  • vat: Float
  • ): TrainingSessionInstructor
  • # Answer an evaluation
  • #
  • # Arguments
  • # answerInputs: [Not documented]
  • # id: [Not documented]
  • # traineeId: [Not documented]
  • answerEvaluation(
  • answerInputs: [AnswerInput],
  • id: ID!,
  • traineeId: ID
  • ): PendingEvaluation
  • # DEPRECATED - Use createAbandonWithSlots instead - DEPRECATED - Use
  • # createAbandonWithSlots instead
  • createAbandon: Abandon @deprecated( reason: "Use createAbandonWithSlots instead" )
  • # Create an abandon or absence on dates when the trainee is absent on the training
  • #
  • # Arguments
  • # abandonInput: [Not documented]
  • # traineeId: [Not documented]
  • # trainingSessionId: [Not documented]
  • createAbandonWithSlots(
  • abandonInput: AbandonInput,
  • traineeId: ID!,
  • trainingSessionId: ID!
  • ): Abandon
  • # Create a message in an e-learning's module's Forum
  • #
  • # Arguments
  • # breakoutRoomId: [Not documented]
  • # dailycoroomId: [Not documented]
  • # livestreamId: [Not documented]
  • # moduleId: [Not documented]
  • # parentId: [Not documented]
  • # text: [Not documented]
  • # traineeId: [Not documented]
  • # trainingSessionId: [Not documented]
  • createComment(
  • breakoutRoomId: String,
  • dailycoroomId: ID,
  • livestreamId: ID,
  • moduleId: ID,
  • parentId: ID,
  • text: String!,
  • traineeId: ID,
  • trainingSessionId: ID
  • ): Comment
  • # Create a company
  • #
  • # Arguments
  • # companyInput: [Not documented]
  • createCompany(companyInput: CompanyInput!): Company
  • # Create a customer in a training session
  • #
  • # Arguments
  • # createCustomerInput: [Not documented]
  • createCustomer(createCustomerInput: CreateCustomerInput!): Customer
  • # Create a note associated with a customer. The note will be linked to the
  • # customer's training session and either the customer's company or trainee.
  • #
  • # Arguments
  • # customerId: [Not documented]
  • # noteInput: [Not documented]
  • createCustomerNote(customerId: ID!, noteInput: NoteInput!): Note
  • # Create a customer trainee
  • #
  • # Arguments
  • # createCustomerTraineeInput: [Not documented]
  • # customerId: [Not documented]
  • createCustomerTrainee(
  • createCustomerTraineeInput: CreateCustomerTraineeInput!,
  • customerId: ID!
  • ): CustomerTrainee
  • # Add a draft trainee to a session. Prerequisites: trainee has to be draft
  • #
  • # Arguments
  • # draftSessionTraineeInput: [Not documented]
  • # trainingSessionId: [Not documented]
  • createDraftSessionTrainee(
  • draftSessionTraineeInput: DraftSessionTraineeInput!,
  • trainingSessionId: ID!
  • ): DraftSessionTrainee
  • # Create a funding_agency
  • #
  • # Arguments
  • # fundingAgencyInput: [Not documented]
  • createFundingAgency(
  • fundingAgencyInput: FundingAgencyInput!
  • ): FundingAgency
  • # Create a grade
  • #
  • # Arguments
  • # gradeInput: [Not documented]
  • # traineeId: [Not documented]
  • # trainingSessionId: [Not documented]
  • createGrade(
  • gradeInput: GradeInput!,
  • traineeId: ID!,
  • trainingSessionId: ID!
  • ): Grade
  • # Create an instructor
  • #
  • # Arguments
  • # instructorInput: [Not documented]
  • createInstructor(instructorInput: InstructorInput!): Instructor
  • # Create an invoice
  • #
  • # Arguments
  • # createInvoiceInput: [Not documented]
  • createInvoice(createInvoiceInput: CreateInvoiceInput!): Invoice
  • # Create an invoice payment
  • #
  • # Arguments
  • # invoiceId: [Not documented]
  • # invoicePaymentInput: [Not documented]
  • createInvoicePayment(
  • invoiceId: ID!,
  • invoicePaymentInput: InvoicePaymentInput!
  • ): InvoicePayment
  • # Create a program
  • #
  • # Arguments
  • # programInput: [Not documented]
  • createProgram(programInput: ProgramInput!): Program
  • # Create a quotation
  • #
  • # Arguments
  • # createQuotationInput: [Not documented]
  • createQuotation(createQuotationInput: CreateQuotationInput!): Quotation
  • # Create a registration using existing entity IDs
  • #
  • # Arguments
  • # createRegistrationInput: [Not documented]
  • createRegistration(
  • createRegistrationInput: CreateRegistrationInput!
  • ): Registration
  • # Create a room
  • #
  • # Arguments
  • # roomInput: [Not documented]
  • createRoom(roomInput: RoomInput!): Room
  • # Create a subsession
  • #
  • # Arguments
  • # subsessionInput: [Not documented]
  • # trainingSessionId: [Not documented]
  • createSubsession(
  • subsessionInput: SubsessionInput!,
  • trainingSessionId: ID!
  • ): Subsession
  • # Create a slot on a training session subsession
  • #
  • # Arguments
  • # subsessionId: [Not documented]
  • # trainingSessionDateInput: [Not documented]
  • createSubsessionSlot(
  • subsessionId: ID!,
  • trainingSessionDateInput: TrainingSessionDateInput!
  • ): TrainingSessionSlot
  • # Create a trainee
  • #
  • # Arguments
  • # traineeInput: [Not documented]
  • createTrainee(traineeInput: TraineeInput!): Trainee
  • # Create a training session
  • #
  • # Arguments
  • # trainingSessionInput: [Not documented]
  • createTrainingSession(
  • trainingSessionInput: TrainingSessionInput!
  • ): TrainingSession
  • # Delete a message in an e-learning's module's Forum
  • #
  • # Arguments
  • # id: [Not documented]
  • # trainingSessionId: [Not documented]
  • deleteComment(id: ID!, trainingSessionId: ID): Boolean
  • # Delete a company
  • #
  • # Arguments
  • # id: [Not documented]
  • deleteCompany(id: ID!): Boolean
  • # Delete a customer
  • #
  • # Arguments
  • # id: [Not documented]
  • deleteCustomer(id: ID!): Boolean
  • # Delete a customer trainee
  • #
  • # Arguments
  • # customerTraineeId: [Not documented]
  • deleteCustomerTrainee(customerTraineeId: ID!): Boolean
  • # Delete a funding_agency
  • #
  • # Arguments
  • # id: [Not documented]
  • deleteFundingAgency(id: ID!): Boolean
  • # Delete a grade
  • #
  • # Arguments
  • # id: [Not documented]
  • deleteGrade(id: ID!): Grade
  • # Delete a instructor
  • #
  • # Arguments
  • # id: [Not documented]
  • deleteInstructor(id: ID!): Boolean
  • # Delete an invoice
  • #
  • # Arguments
  • # id: [Not documented]
  • deleteInvoice(id: ID!): Boolean
  • # Delete an invoice payment
  • #
  • # Arguments
  • # id: [Not documented]
  • deleteInvoicePayment(id: ID!): Boolean
  • # Delete a program
  • #
  • # Arguments
  • # id: [Not documented]
  • deleteProgram(id: ID!): Boolean
  • # Delete a quotation
  • #
  • # Arguments
  • # id: [Not documented]
  • deleteQuotation(id: ID!): Boolean
  • # Delete a room
  • #
  • # Arguments
  • # id: [Not documented]
  • deleteRoom(id: ID!): Boolean
  • # Delete a subsession
  • #
  • # Arguments
  • # id: [Not documented]
  • deleteSubsession(id: ID!): Boolean
  • # Delete a slot from a training session subsession
  • #
  • # Arguments
  • # id: [Not documented]
  • deleteSubsessionSlot(id: ID!): Boolean
  • # Delete a trainee
  • #
  • # Arguments
  • # id: [Not documented]
  • deleteTrainee(id: ID!): Boolean
  • # Delete a training session
  • #
  • # Arguments
  • # id: [Not documented]
  • deleteTrainingSession(id: ID!): Boolean
  • # Remove a training session instructor from a training session slot. If no
  • # instructor get assign to a slot, all instructor registered to the training
  • # session will appear on the slot. If your request fail, there might be no
  • # instructor assigned to the slot.
  • #
  • # Arguments
  • # slotId: [Not documented]
  • # trainingSessionInstructorId: ID of the training session
  • # instructor. Training session instructor does not have the same ID as the
  • # instructor it refer.
  • removeInstructorFromSlot(
  • slotId: ID!,
  • trainingSessionInstructorId: ID!
  • ): TrainingSessionInstructorSlot
  • # Remove instructor from training_session
  • #
  • # Arguments
  • # trainingSessionInstructorId: [Not documented]
  • removeInstructorFromTrainingSession(
  • trainingSessionInstructorId: ID!
  • ): TrainingSessionInstructor
  • # Set a customer's subsession ids
  • #
  • # Arguments
  • # customerId: [Not documented]
  • # subsessionIds: [Not documented]
  • setCustomerSubsessionIds(
  • customerId: ID!,
  • subsessionIds: [ID]!
  • ): Boolean
  • # Set a customer_trainee subsession ids
  • #
  • # Arguments
  • # customerTraineeId: [Not documented]
  • # subsessionIds: [Not documented]
  • setCustomerTraineeSubessionIds(
  • customerTraineeId: ID!,
  • subsessionIds: [ID]!
  • ): Boolean
  • # Set boolean to an abandon when the trainee joins the training again or disapear
  • #
  • # Arguments
  • # abandonInput: [Not documented]
  • # id: [Not documented]
  • updateAbandon(abandonInput: AbandonInput!, id: ID!): Abandon
  • # Update a company
  • #
  • # Arguments
  • # companyInput: [Not documented]
  • # id: [Not documented]
  • updateCompany(companyInput: CompanyInput!, id: ID!): Company
  • # Update a customer
  • #
  • # Arguments
  • # id: [Not documented]
  • # updateCustomerInput: [Not documented]
  • updateCustomer(id: ID!, updateCustomerInput: UpdateCustomerInput!): Customer
  • # Update a customer trainee
  • #
  • # Arguments
  • # customerTraineeId: [Not documented]
  • # updateCustomerTraineeInput: [Not documented]
  • updateCustomerTrainee(
  • customerTraineeId: ID!,
  • updateCustomerTraineeInput: UpdateCustomerTraineeInput!
  • ): CustomerTrainee
  • # Update a funding_agency
  • #
  • # Arguments
  • # fundingAgencyInput: [Not documented]
  • # id: [Not documented]
  • updateFundingAgency(
  • fundingAgencyInput: FundingAgencyInput!,
  • id: ID!
  • ): FundingAgency
  • # Update a grade
  • #
  • # Arguments
  • # gradeInput: [Not documented]
  • # id: [Not documented]
  • updateGrade(gradeInput: GradeInput!, id: ID!): Grade
  • # Update a instructor
  • #
  • # Arguments
  • # id: [Not documented]
  • # instructorInput: [Not documented]
  • updateInstructor(id: ID!, instructorInput: InstructorInput!): Instructor
  • # Update an invoice
  • #
  • # Arguments
  • # id: [Not documented]
  • # updateInvoiceInput: [Not documented]
  • updateInvoice(id: ID!, updateInvoiceInput: UpdateInvoiceInput!): Invoice
  • # Update an invoice payment
  • #
  • # Arguments
  • # id: [Not documented]
  • # invoicePaymentInput: [Not documented]
  • updateInvoicePayment(
  • id: ID!,
  • invoicePaymentInput: InvoicePaymentInput!
  • ): InvoicePayment
  • # Update a program
  • #
  • # Arguments
  • # id: [Not documented]
  • # programInput: [Not documented]
  • updateProgram(id: ID!, programInput: ProgramInput!): Program
  • # Update program capacity
  • #
  • # Arguments
  • # active: [Not documented]
  • # id: [Not documented]
  • # max: [Not documented]
  • # min: [Not documented]
  • updateProgramCapacity(
  • active: Boolean!,
  • id: ID!,
  • max: Int!,
  • min: Int!
  • ): Program
  • # Update a quotation
  • #
  • # Arguments
  • # id: [Not documented]
  • # updateQuotationInput: [Not documented]
  • updateQuotation(
  • id: ID!,
  • updateQuotationInput: UpdateQuotationInput!
  • ): Quotation
  • # Update a room
  • #
  • # Arguments
  • # id: [Not documented]
  • # roomInput: [Not documented]
  • updateRoom(id: ID!, roomInput: RoomInput!): Room
  • # Update an subsession
  • #
  • # Arguments
  • # id: [Not documented]
  • # subsessionInput: [Not documented]
  • updateSubsession(id: ID!, subsessionInput: SubsessionInput!): Subsession
  • # Update a slot of a training session subsession
  • #
  • # Arguments
  • # id: [Not documented]
  • # trainingSessionDateInput: [Not documented]
  • updateSubsessionSlot(
  • id: ID!,
  • trainingSessionDateInput: TrainingSessionDateInput!
  • ): TrainingSessionSlot
  • # Update a trainee
  • #
  • # Arguments
  • # id: [Not documented]
  • # traineeInput: [Not documented]
  • updateTrainee(id: ID!, traineeInput: TraineeInput!): Trainee
  • # Update a training session
  • #
  • # Arguments
  • # id: [Not documented]
  • # trainingSessionInput: [Not documented]
  • updateTrainingSession(
  • id: ID!,
  • trainingSessionInput: TrainingSessionInput!
  • ): TrainingSession
  • }

link Require by

This element is not required by anyone