Certificación de Carga Masiva

Carga Masiva de Certificaciones

POST https://api.iafcertsearch.org/api/client/v1/cb/bulk-upload-cert

Los campos marcados con un asterisco (*) son obligatorios.

El símbolo ([*]) se utiliza para indicar que un campo particular es parte de un array de objetos de certificación.

Headers

NameTypeDescription

Content-Type*

String

application/json

x-http-authorization*

String

Clave API recibida de https://iafcertsearch.org/import-management/api-integration

Ejemplo:

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

Request Body

NameTypeDescription

certifications.[*]*

String

{

"certifications" : [

{

"certificate_number": "string",

"certification_status": "string",

. . . .

}

]

}

certifications.[*].certificate_number*

String

certifications.[*].certification_status*

String

Valores aceptados:

active

inactive

suspended

cancelled

hidden

withdrawn

expired

*Nota: Las certificaciones cargadas a través de la API con el certification_status como oculto se muestran como "Borrador" cuando inicias sesión en IAF CertSearch.

certifications.[*].certificate_accreditation_status

String

Valores aceptados:

Accredited

Unaccredited

certifications.[*].certification_type*

String

certifications.[*].certification_scope

String

certifications.[*].certification_original_issue_date

String

Formato: AAAAMMDD

certifications.[*].certification_issue_date*

String

Formato: AAAAMMDD

certifications.[*].certification_expiry_date*

String

Formato: AAAAMMDD

certifications.[*].certified_entity_name*

String

certifications.[*].certified_entity_english_name

String

certifications.[*].certified_entity_trading_name

String

certifications.[*].certified_entity_unique_id*

String

certifications.[*].certified_entity_street_address

String

certifications.[*].certified_entity_street_city

String

certifications.[*].certified_entity_state

String

certifications.[*].certified_entity_post_code

String

certifications.[*].certified_entity_country*

String

certifications.[*].certified_entity_website

String

certifications.[*].accreditation_body_name*

String

certifications.[*].accreditation_body_acronym_name*

String

certifications.[*].confidential_certified_entity

Boolean

certifications.[*].schemes*

Array

Ejemplo

{

"schemes": [

{

"scheme_name": "string",

"standard_list": [

{

"standards_name": "string"

}

]

}

]

}

certifications.[*].sites

Array

Ejemplo

{

"sites": [

{

"street": "string",

"city": "string",

"state": "string",

"country": "string",

"postcode": "string",

"scope_description": "string

}

]

}

Para eliminar todos los sitios existentes de una certificación, establece el valor de la clave sites a un array vacío de esta manera:

{

"sites": []

}

{
  "data": {
    "success": true
  }
}

Carga Masiva de Certificaciones

Recomendamos tener un intervalo de 10 minutos entre las solicitudes a la API para evitar errores durante la publicación de datos de certificación.

Para ver un ejemplo de los datos de respuesta, haz clic en la flecha derecha que está al lado de la descripción de la respuesta.

También puedes utilizar https://api.sandbox.iafcertsearch.org/api/client/v1/cb/bulk-upload-cert para probarlo en el servidor de Sandbox.

Echa un vistazo a cómo podrías llamar a este método:

curl --location --request POST 'https://api.iafcertsearch.org/api/client/v1/cb/bulk-upload-cert' \
--header 'Content-Type: application/json' \
--header 'x-http-authorization: <<API_KEY>>' \
--data-raw '{
    "certifications": [
        {
            "certificate_number": "string",
            "certification_status": "string",
            "certificate_accreditation_status": "string",
            "certification_type": "string",
            "certification_scope": "string",
            "certification_original_issue_date": "string",
            "certification_issue_date": "string",
            "certification_expiry_date": "string",
            "certified_entity_name": "string",
            "certified_entity_english_name": "string",
            "certified_entity_trading_name": "string",
            "certified_entity_unique_id": "string",
            "certified_entity_street_address": "string",
            "certified_entity_street_city": "string",
            "certified_entity_state": "string",
            "certified_entity_post_code": "string",
            "certified_entity_country": "string",
            "certified_entity_website": "string",
            "accreditation_body_name": "string",
	    "accreditation_body_acronym_name": "string",
            "confidential_certified_entity": "boolean",
            "schemes": [
                {
                    "scheme_name": "string",
                    "standard_list": [
                        {
                            "standards_name": "string"
                        }
                    ]
                }
            ],
            "sites": [
                {
                    "street": "string",
                    "city": "string",
                    "state": "string",
                    "country": "string",
                    "postcode": "string",
                    "scope_description": "string"
                }
            ]
        }
    ]
}'

Last updated