Télécharger une certification

Télécharger une certification

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

Les champs marqués d'un astérisque (*) sont obligatoires.

Headers

NameTypeDescription

Content-Type*

String

application/json

x-http-authorization*

String

Clé d'API reçue sur https://iafcertsearch.org/import-management/api-integration

Exemple:

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

Request Body

NameTypeDescription

certificate_number*

String

certification_status*

String

certificate_accreditation_status

String

Valeurs acceptées :

Accredited

NoneAccredited

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_city

String

certified_entity_state

String

certified_entity_post_code

String

certified_entity_country*

String

certification_body_name*

String

certification_body_acronym_name

String

certification_body_identity_number*

String

confidential_certified_entity

Boolean

schemes*

Array

Exemple

{

"schemes": [

{

"scheme_name": "string",

"standard_list": [

{

"standards_name": "string"

}

]

}

]

}

sites

Array

Exemple

{

"sites": [

{

"street": "string",

"city": "string",

"state": "string",

"country": "string",

"postcode": "string",

"scope_description": "string

}

]

}

{
  "data": {
    "company_certifications_id": string
  }
}

Pour voir l'exemple des données de réponse, cliquez sur la flèche droite à droite de la description de la réponse.

Vous pouvez également utiliser https://api.sandbox.iafcertsearch.org/api/client/v1/ab/upload-cert pour le tester sur le serveur Sandbox.

Jetons un coup d'œil à la manière dont vous pourriez appeler cette méthode :

curl --location --request POST 'https://api.iafcertsearch.org/api/client/v1/ab/upload-cert' \
--header 'Content-Type: application/json' \
--header 'x-http-authorization: <<API_KEY>>' \
--data-raw '{
	"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",
	"certification_body_name": "string",
	"certification_body_acronym_name": "string",
	"certification_body_identity_number": "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