上传认证机构

上传认证机构

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

标有星号 (*) 的字段为必填字段。

Headers

NameTypeDescription

Content-Type*

String

application/json

x-http-authorization*

String

https://iafcertsearch.org/import-management/api-integration 获取的 API 密钥

示例:

x-http-authorization: <<API 密钥>>

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