تحميل هيئة الاعتماد للشهادات

رفع هيئة التحقق

POST https://api.iafcertsearch.org/api/client/v1/ab/upload-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_body_identity_number*

String

certification_body_name*

String

certification_body_acronym*

String

country*

String

description

String

accreditation_status*

String

القيم المقبولة:

active,

suspended,

withdrawn

office_directories

Array

مثال

{

"office_directories": [

{

"office_type": "string",

"country": "string",

"street": "string",

"state": "string",

"city": "string",

"zip_code": "string"

}

]

}

certification_body_countries

Array

مثال

{

"certification_body_countries": [

{

"country": "string"

}

]

}

standard_and_schemes

Array

مثال

{

"standard_and_schemes": [

{

"standard_code": "string",

"issue_date": "string",

"first_issue_date": "string",

"expiry_date": "string",

"scheme_name": "string",

"scope_type": "string",

"standard_status": "string"

}

]

}

technical_sectors

Array

مثال

{

"technical_sectors": [

{

"sector_title": "string",

"scheme_name": "string"

}

]

}

{
  "data": {
    "certification_bodies_id": string
  }
}

لعرض مثال على بيانات الاستجابة، انقر على السهم الصغير في الجهة اليمنى من وصف الاستجابة.

يمكنك أيضًا استخدام https://api.sandbox.iafcertsearch.org/api/client/v1/ab/upload-cb لاختباره على خادم الرمل.

انظر كيف يمكنك استدعاء هذه الطريقة:

curl --location --request POST 'https://api.iafcertsearch.org/api/client/v1/ab/upload-cb' \
--header 'Content-Type: application/json' \
--header 'x-http-authorization: <<API_KEY>>' \
--data-raw '{
	"certification_body_identity_number": "string",
	"certification_body_name": "string",
	"certification_body_acronym": "string",
	"country": "string",
	"description": "string",
	"accreditation_status": "string",
	"office_directories": [
		{
			"office_type": "string",
			"country": "string",
			"street": "string",
			"state": "string",
			"city": "string",
			"zip_code": "string",
		}
	],	
	"certification_body_countries": [
		{
			"country": "string"
		}
	],
	"standard_and_schemes": [
		{
			"standard_code": "string",
			"issue_date": "string",
			"first_issue_date": "string",
			"expiry_date": "string",
			"scheme_name": "string",
			"scope_type": "string",
			"standard_status": "string"
		}
	],
	"technical_sectors": [
		{
			"sector_title": "string",
			"scheme_name": "string"
		}
	]
}'

Last updated