Wedof icon

Wedof

Facilitez-vous la vie avec Wedof !

Actions169

Audit De Partenariat → Créer Un Audit

AI-generated

Overview

This node operation creates a new audit for a certification partner in the Wedof system. It is useful for users who need to programmatically initiate audits based on specific audit templates and partner identifiers (SIRET). For example, a certification body can automate the creation of audits for their partners by specifying the audit template and partner SIRET, along with optional date filters to define the audit period.

Use Case Examples

  1. Creating an audit for a certification partner using a specific audit template and partner SIRET.
  2. Automating audit creation with custom date ranges and filtering based on various state dates.

Properties

Name Meaning
CertifInfo The certification identifier used to specify which certification the audit belongs to. Required for creating the audit.
SIRET The unique SIRET number identifying the certification partner for whom the audit is being created. Required for creating the audit.
ID Du Modèle D'audit The ID of the audit template to use for creating the audit. Required for creating the audit.
Depuis Le The start date for the custom period filter, used to define the audit period. Required if a custom period is selected.
Jusqu'au The end date for the custom period filter, used to define the audit period. Required if a custom period is selected.
Basé Sur La Date De The date field on which to base the filtering of audit data, such as examination date, last state update, or various status transitions. Defaults to 'stateLastUpdate'.

Output

JSON

  • id - The unique identifier of the created audit.
  • status - The status of the audit after creation.
  • createdAt - Timestamp when the audit was created.
  • templateId - The ID of the audit template used.
  • partnerSiret - The SIRET number of the certification partner for whom the audit was created.

Dependencies

  • An API key credential for Wedof API authentication

Troubleshooting

  • Ensure that the CertifInfo (certification ID), SIRET, and templateId are correctly provided and valid, as missing or incorrect values will cause the audit creation to fail.
  • Check network connectivity and API base URL configuration if requests fail to reach the Wedof API.
  • If using custom date filters, ensure the 'since' and 'until' dates are valid and logically consistent (start date before end date).
  • Verify that the API key credential has sufficient permissions to create audits in the Wedof system.

Links

  • Wedof API Documentation - Official API documentation for Wedof platform, useful for understanding audit creation and other operations.

Discussion