INPUT_OBJECT

TraineeInput

An input data structure to create or update a trainee. Lastname is required. Be careful not to create duplicates!

link GraphQL Schema definition

  • input TraineeInput {
  • # N° de compte apprenant en compta
  • accountingNumber: String
  • # Lieu de naissance
  • birthCity: String
  • # Code postal du lieu de naissance
  • birthCityCode: String
  • birthName: String
  • # Date de naissance
  • birthdate: String
  • # Adresse de l'apprenant (ville)
  • city: String
  • # Adresse de l'apprenant (code postal)
  • cityCode: String
  • # one of "mr", "mme", "other"
  • civility: String
  • # German administration only - Title, prof, dr, or prof_dr
  • civilityTitle: Title
  • # Code interne de l'apprenant
  • code: String
  • # Only for employee
  • companyId: ID
  • # Raison sociale (indépendant)
  • companyName: String
  • # Adresse de l'apprenant (code ISO pays)
  • countryCode: String
  • # Input an object of custom fields. Format: [{field:`name of your custom field`,
  • # value:`your value`}] CAREFUL: Only input existing custom field. Adding none
  • # existing custom field will fail the request. Cf.
  • # http://app.digiforma.com/help#section-more-config. This feature might not be
  • # included in your plan.
  • customFields: [CustomFieldInput]
  • # Code Adeli (DPC)
  • dpcAdeli: String
  • # Mode d'exercice dominant (DPC)
  • dpcMainStatus: String
  • # Code RPPS (DPC)
  • dpcRpps: String
  • # This signals the trainee is not fully registered into the session
  • draft: Boolean
  • # Email
  • email: String
  • # Champs libre pour indiquer un lien avec un service externe
  • externalId: String
  • # Prénom
  • firstname: String
  • # Mention à ajouter
  • freeText: String
  • # Reconnaissance travailleur handicapé
  • handicaped: Boolean
  • # Salaire horaire brut
  • hourlySalary: Float
  • # Spanish administration only - Is the trainee an intermittent worker
  • isIntermittentWork: Boolean
  • # Spanish administration only - Is the trainee working part time
  • isPartialUnemployment: Boolean
  • # Spanish administration only - Is the trainee a victim of sexual harassment
  • isSexualHarassmentVictim: Boolean
  • # Spanish administration only - Is the trainee affected from terrorism
  • isTerrorismVictim: Boolean
  • # Dernier diplôme obtenu
  • lastDiploma: String
  • # Nom de famille
  • lastname: String
  • # Spanish administration only - 1 to 10
  • levelStudies: Int
  • # Langue
  • locale: String
  • # Nationalité
  • nationality: String
  • # Notes libres
  • note: String
  • # Tel de l'apprenant
  • phone: String
  • # Tel secondaire de l'apprenant
  • phoneSecondary: String
  • # Only for employee. You have to use the `companyId` field in order for the
  • # position to be updated.
  • position: String
  • # Profession de l'apprenant
  • profession: String
  • # Spanish administration only - Professional category of the trainee
  • professionalCategory: ProfessionalCategoryType
  • # Adresse de l'apprenant (rue)
  • roadAddress: String
  • # N° d'enregistrement de l'apprenant
  • siret: String
  • # Catégorie socio-professionnelle
  • socialCategory: String
  • # N° de sécurité sociale
  • socialNumber: String
  • # Status of the trainee. Can be one of "employee", "independant", "individual",
  • # defaults to "employee"
  • status: String
  • # N° TVA de l'apprenant
  • vat: String
  • # N° de compte TVA en compta
  • vatAccountingCode: String
  • # German administration only - Umsatzsteuer-Identifikationsnummer
  • vatSales: String
  • # Nature du contrat de travail
  • workContractType: String
  • }