检索认证

检索认证

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

此端点用于检索单个认证的数据。

Headers

NameTypeDescription

Content-Type*

String

application/json

x-http-authorization*

String

从 https://iafcertsearch.org/import-management/api-integration 获取的 API 密钥

例如:

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

{
  "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,
    "certification_bodies_name": string,
    "accreditation_bodies_name": string,
    "certification_bodies_accreditation_status": string,
    "withdrawn_at": number,
    "scheme_name": string,
    "standards": [
      {
        "is_accredited_mla": number,
        "standards_id": string,
        "standards_name": string,
        "standards_document_type": string,
        "scheme_name": string
      }
    ]
  }
}

要查看响应数据示例,请单击响应描述右侧的右箭头。

你也可以使用 https://api.sandbox.iafcertsearch.org/api/client/v1/ab/cert/{company_certifications_id} 在沙盒服务器上进行测试。

看一下您可能如何调用此方法:

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

Last updated