匹配投资组合
POST /api/v1/portfolio/match
scope:portfolio:match 每个 KvK 编号 0.1 个额度
检查哪些 KvK 编号属于公开的破产案件。仅限精确的 KvK 匹配;编号不会被保存。
请求体
| 名称 | 类型 | 说明 |
|---|---|---|
kvk_numbers 必填 8 位数的 KvK 编号 | string[] | 8 位数的 KvK 编号 |
响应,HTTP 200
响应,HTTP 200
| 名称 | 类型 | 说明 |
|---|---|---|
data 必填 | object[] | |
data[].kvk_number 必填 | string | |
data[].matched 必填 | string | |
data[].cases 必填 | string | |
meta 必填 | object | |
meta.numbers 必填 | integer | |
meta.matched 必填 | integer | |
meta.credits 必填 | number |
响应,HTTP 422
Validation error
响应,HTTP 422
| 名称 | 类型 | 说明 |
|---|---|---|
error 必填 | object | |
error.code 必填 Stable error code, for example not_found or validation_failed | string | Stable error code, for example not_found or validation_failed |
error.message 必填 Human-readable explanation | string | Human-readable explanation |
error.details Extra information, such as the fields that failed validation | object | Extra information, such as the fields that failed validation |
响应字段见 openapi.json。每个值及其来源的构成方式请参阅 数据与来源文件