Получение всех сертификаций

Получить все сертификаты

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

Этот метод извлекает данные всех зарегистрированных сертификатов.

Headers

NameTypeDescription

Content-Type*

String

application/json

x-http-authorization*

String

Ключ API, полученный с https://iafcertsearch.org/import-management/api-integration

Пример:

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

Request Body

NameTypeDescription

limit

String

Лимит

offset

String

Смещение

{
  "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
  }
}

Чтобы просмотреть пример ответа, нажмите стрелку вправо справа от описания ответа.

Вы также можете использовать https://api.sandbox.iafcertsearch.org/api/client/v1/ab/cert для тестирования на сервере Sandbox.

Посмотрите, как можно вызвать этот метод:

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

Last updated