Обновление органа сертификации

Обновление данных органа сертификации

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

Поля, помеченные звездочкой (*), обязательны к заполнению.

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

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 для тестирования на сервере Sandbox.

Взгляните, как вы могли бы вызвать этот метод:

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