Atualizar Status de Acreditação do Órgão de Certificação

Atualizar Status de Acreditação do Órgão de Certificação

PUT https://api.iafcertsearch.org/api/client/v1/ab/cb/update-accreditation-status

Campos marcados com um asterisco (*) são obrigatórios.

Headers

NameTypeDescription

Content-Type*

String

application/json

x-http-authorization*

String

Chave API recebida de https://iafcertsearch.org/import-management/api-integration

Exemplo:

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

Request Body

NameTypeDescription

certification_bodies_id*

String

Obrigatório sem certification_bodies_guid_in_ab

certification_bodies_guid_in_ab*

String

Obrigatório sem certification_bodies_id

accreditation_status*

String

Valores aceitos:

active,

suspended,

withdrawn

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

Para visualizar o exemplo de dados de resposta, clique na seta à direita da descrição da resposta.

Você também pode usar https://api.sandbox.iafcertsearch.org/api/client/v1/ab/cb/update-accreditation-status para testá-lo no servidor de Sandbox.

Veja como você pode chamar este método:

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

Last updated