Récupérer toutes les certifications

Récupérer toutes les certifications

GET https://api.iafcertsearch.org/api/client/v1/cb/cert

Cet endpoint récupère les données de toutes les certifications enregistrées.

Headers

NameTypeDescription

Content-Type*

String

application/json

x-http-authorization*

String

Clé d'API reçue sur https://iafcertsearch.org/import-management/api-integration

Exemple:

x-http-authorization: <<API KEY>>

Request Body

NameTypeDescription

limit

String

Limite

offset

String

Décalage

{
  "data": [
    {
      "company_certifications_id": string,
      "company_id": string
      "scope_description": string,
      "issue_date": string,
      "expiry_date": string,
      "original_issue_date": string,
      "status": string,
      "type": string,
      "model_number": string,
      "certification_number": string,
      "certification_bodies_id": string,
      "accreditation_bodies_id": string,
      "standards_id": string,
      "accreditation_status": string,
      "scheme_id": string,
      "created_at": number,
      "updated_at": number,
      "company_name": string,
      "accreditation_bodies_name": string,
      "certification_bodies_name": string,
      "certification_bodies_accreditation_status": string,
      "withdrawn_at": number,
      "scheme_name": string,
      "iaf_mla_count": number,
      "standards": [
        {
          "is_accredited_mla": number,
          "standards_id": string,
          "standards_name": string,
          "standards_document_type": string,
          "scheme_name": string
        }
      ]
    },
    {
      "company_certifications_id": string,
      "company_id": string
      "scope_description": string,
      "issue_date": string,
      "expiry_date": string,
      "original_issue_date": string,
      "status": string,
      "type": string,
      "model_number": string,
      "certification_number": string,
      "certification_bodies_id": string,
      "accreditation_bodies_id": string,
      "standards_id": string,
      "accreditation_status": string,
      "scheme_id": string,
      "created_at": number,
      "updated_at": number,
      "company_name": string,
      "accreditation_bodies_name": string,
      "certification_bodies_name": string,
      "certification_bodies_accreditation_status": string,
      "withdrawn_at": number,
      "scheme_name": string,
      "iaf_mla_count": number,
      "standards": [
        {
          "is_accredited_mla": number,
          "standards_id": string,
          "standards_name": string,
          "standards_document_type": string,
          "scheme_name": string
        }
      ]
    }
  ],
  "meta": {
    "total_pages": number,
    "total_rows": number,
    "order": string,
    "order_by": string,
    "limit": number,
    "offset": number,
    "next_key": string
  }
}

Pour voir l'exemple des données de réponse, cliquez sur la flèche droite à droite de la description de la réponse.

Vous pouvez également utiliser https://api.sandbox.iafcertsearch.org/api/client/v1/cb/cert pour le tester sur le serveur Sandbox.

Jetons un coup d'œil à la manière dont vous pourriez appeler cette méthode :

curl --location --request GET 'https://api.iafcertsearch.org/api/client/v1/cb/cert' \
--header 'Content-Type: application/json' \
--header 'x-http-authorization: <<API_KEY>>'

Last updated