更新认证机构

更新认证机构

PUT https://api.iafcertsearch.org/api/client/v1/ab/cb

标有星号 (*) 的字段为必填字段。

Headers

NameTypeDescription

Content-Type*

String

application/json

x-http-authorization*

String

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

示例:

x-http-authorization: <<API 密钥>>

Request Body

NameTypeDescription

certification_bodies_id*

String

在没有 certification_bodies_guid_in_ab 的情况下是必需的

certification_bodies_guid_in_ab*

String

在没有 certification_bodies_id 的情况下是必需的

certification_bodies_name

String

certification_bodies_website

String

certification_bodies_status

String

接受的值:

active,

suspended,

withdrawn

country

String

{
  "data": {
    "certification_bodies_id": "string",
    "certification_bodies_name": "string",
    "certification_bodies_desc": "string",
    "certification_bodies_website": "string",
    "certification_bodies_email": "string",
    "certification_bodies_phone": "string",
    "certification_bodies_status": "string",
    "certification_bodies_tier": "string",
    "certification_bodies_acronym": "string",
    "countries_id": "string",
    "files": "array",
    "certification_bodies_location": "string",
    "certification_bodies_fax": "string",
    "certification_bodies_contact": "string",
    "certification_bodies_open_certs_to_ab": "string",
    "certification_bodies_guid": "string",
    "certification_bodies_want_active": "string",
    "certification_bodies_searchable": "string",
    "activated_at": "string",
    "created_at": "string",
    "updated_at": "string",
    "country_name": "string",
    "country_code": "string",
    "certification_bodies_guid_in_ab": "string",
    "certification_bodies_accreditation_status": "string",
    "certification_bodies_name_from_ab": "string",
    "withdrawn_at": "string",
    "company_size": "string",
    "company_industries": "array"
  }
}

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

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

看看你可能如何调用这个方法:

curl --location --request PUT 'https://api.iafcertsearch.org/api/client/v1/ab/cb' \
--header 'Content-Type: application/json' \
--header 'x-http-authorization: <<API_KEY>>' \
--data-raw '{
	"certification_bodies_id": "string",
        "certification_bodies_guid_in_ab": "string",
        "certification_bodies_name": "string",
        "certification_bodies_website": "string",
        "certification_bodies_status": "string",
        "country": "string"
}'

Last updated