跳到主要内容

查询注册信息

查询特定注册

要查询特定注册,只需发送 GET 请求。返回结果为该注册最新的 JSON 数据。如果该标识符未关联任何对象,则返回 HTTP Status 404。

  • Natural Person:

GET https://api.caas.qitech.app/onboarding/natural_person/12345678

  • Legal Person:

GET https://api.caas.qitech.app/onboarding/legal_person/12345678

curl "https://api.caas.qitech.app/onboarding/natural_person/12345678"
-H "Authorization: EXAMPLE-OF-API-KEY"

上述命令返回表示 Natural Person 对象的 JSON。

curl "https://api.caas.qitech.app/onboarding/legal_person/12345678"
-H "Authorization: EXAMPLE-OF-API-KEY"

上述命令返回表示 Legal Person 对象的 JSON。

获取 PDF

要获取某个注册的 PDF 文件,只需发送 GET 请求。返回结果为分析生成的 PDF 文件。如有需要,可添加名为 base64、值为 true 的查询字符串,以 base64 格式返回 PDF 文件。

注意

平台的 PDF 生成是异步的,需要几秒钟时间。如果在 PDF 实际生成之前发送 GET 请求,将返回 404 错误并附带相应说明。几秒后重试即可获取 PDF。

  • Natural Person:

GET https://api.caas.qitech.app/onboarding/natural_person/12345678/pdf

GET https://api.caas.qitech.app/onboarding/natural_person/12345678/pdf?base64=true

  • Legal Person:

GET https://api.caas.qitech.app/onboarding/legal_person/12345678/pdf

GET https://api.caas.qitech.app/onboarding/legal_person/12345678/pdf?base64=true

curl "https://api.caas.qitech.app/onboarding/natural_person/12345678/pdf"
-H "Authorization: EXAMPLE-OF-API-KEY"

上述命令返回查询生成的 PDF 文件。

curl "https://api.caas.qitech.app/onboarding/legal_person/12345678/pdf"
-H "Authorization: EXAMPLE-OF-API-KEY"

上述命令返回查询生成的 PDF 文件。