Wedof icon

Wedof

Facilitez-vous la vie avec Wedof !

Actions169

Contrat D'apprentissage → Créer Un Contrat (BETA)

AI-generated

Overview

This node operation allows users to create an apprenticeship contract (Contrat D'apprentissage) in the Wedof system. It is useful for managing working contracts related to training and apprenticeship programs, enabling automation of contract creation with necessary details such as contract type, start and end dates, financer, and signature date.

Use Case Examples

  1. Automatically create apprenticeship contracts when a new registration folder is created in a training management workflow.
  2. Generate contracts for apprenticeships with specified start and end dates and financer information as part of HR or training automation.

Properties

Name Meaning
ExternalId Du Dossier De Formation The external ID of the training registration folder associated with the apprenticeship contract. This is required to link the contract to the correct training folder.
Type De Contrat The type of contract being created. This is a required string input specifying the contract type.
Date De Début The start date of the apprenticeship contract. This is a required dateTime input.
Date De Fin The end date of the apprenticeship contract. This is a required dateTime input.
Financeur The financer of the apprenticeship contract. This is a required string input indicating who finances the contract.
Date De Signature The date the contract was signed. This is an optional dateTime input that can be left empty.

Output

JSON

  • id - The unique identifier of the created apprenticeship contract.
  • registrationFolderExternalId - The external ID of the associated training registration folder.
  • type - The type of the created contract.
  • startDate - The start date of the contract.
  • endDate - The end date of the contract.
  • financer - The financer of the contract.
  • signedDate - The date the contract was signed, if provided.

Dependencies

  • Requires an API key credential for Wedof API authentication.

Troubleshooting

  • Ensure all required fields (registrationFolderExternalId, type, startDate, endDate, financer) are provided; missing fields will cause errors.
  • Verify the date formats for startDate, endDate, and signedDate are valid ISO date strings.
  • Check API credentials and network connectivity if requests fail.
  • If the signedDate is empty, it is omitted from the request body to avoid API errors.

Discussion