下载 CTOS 报告
/download-ctos
Method : GET
URL : https://xxx.finexusgroup.com/acdd/rest/v1/download-ctos
信息
这个方法将下载先前 /checkpersoncdd POST 或 /checkorgcdd POST 请求中使用的个人或组织的 CTOS 报告。
- 请求
- 响应
请求参数
字段名 | 必填项 | 类型 | 长度 | 描述 | 示例 |
---|---|---|---|---|---|
source | 是 | 字符串 | 16 | 来源。 | "FNXCRDS" |
partnerId | 是 | 字符串 | 128 | 合作伙伴ID。 | "BSSS" |
productType | 是 | 字符串 | 128 | 产品类型。 | "loanapplication" |
reference | 是 | 字符串 | 64 | 唯一参考编号。 | "2003160192931" |
referenceId | 是 | 字符串 | 64 | 参考ID。 | "2003160192931" |
apiVersion | 是 | 字符串 | 8 | API版本。 | "1.2" |
reportFormat | 可选 | 字符串 | 4 | 报告格式。 | "XML","JSON" |
language | 可选 | 字符串 | 2 | 语言。 | "en","ms" |
apiKey | 是 | 字符串 | 64 | API密钥。 | "123KEJRU001" |
响应代码
响应代码 | 描述 | 响应模式 |
---|---|---|
200 | 允许。 | CTOSReportResponse |
400 | 错误请求。 | N/A |
401 | 未授权访问。 | N/A |
405 | 禁止访问。 | N/A |
响应参数
字段名 | 必填项 | 类型 | 长度 | 描述 | 示例 |
---|---|---|---|---|---|
status | 是 | 对象 | 状态。 | 参见下面的说明。 | |
payload | 可选 | 对象 | 整体 CTOS 报告。 | 参见下面的说明。 |
对象: status
字段名 | 必填项 | 类型 | 长度 | 描述 | 示例 |
---|---|---|---|---|---|
sourceInfo | 是 | 对象 | 来源信息。 | 参见下面的说明。 | |
errorlist | 是 | 对象 | 错误列表。 | 参见下面的说明。 | |
status | 是 | 字符串 | 16 | 状态。 | "成功","排队中","失败" |
对象: sourceInfo
字段名 | 必填项 | 类型 | 长度 | 描述 | 示例 |
---|---|---|---|---|---|
source | 是 | 字符串 | 16 | 来源。 | "FNXCRDS" |
partnerId | 是 | 字符串 | 128 | 合作伙伴ID。 | "BSSS" |
productType | 是 | 字符串 | 128 | 产品类型。 | "BSSS01" |
reference | 是 | 字符串 | 64 | 参考。 | "50074154501001" |
referenceId | 是 | 字符串 | 64 | 参考。 | "50074154501001" |
apiVersion | 是 | 字符串 | 8 | API版本。 | "1.2" |
apiKey | 有条件的 | 字符串 | 64 | API密钥。 | "123KEJRU001" |
对象: errorList
字段名 | 必填项 | 类型 | 长度 | 描述 | 示例 |
---|---|---|---|---|---|
msgText | 是 | 字符串 | 128 | 消息文本。 | "下载未成功。" |
msgCode | 是 | 字符串 | 8 | 消息代码。 | "404" |
对象: payload
字段名 | 必填项 | 类型 | 长度 | 描述 | 示例 |
---|---|---|---|---|---|
rulesEvaluated | 是 | 对象 | 评估规则。 | 参见下面的说明。 | |
recommendation | 是 | 字符串 | 2 | 建议。 | "接受","拒绝","手动" |
threshold | 可选 | 数字 | 4 | 阈值。 | 33 |
riskScore | 可选 | 数字 | 4 | 风险分数。 | 33 |
xmlReport | 有条件的 | 字符串 | 256 | XML 报告。 | "https://xxx.finexusgroup.com/ACDD/rest/v1/report?source=XXX&referenceId=XXXXXXXXXXXXXXX&reportFormat=XML" |
jsonReport | 有条件的 | 字符串 | 256 | JSON 报告。 | "https://xxx.finexusgroup.com/ACDD/rest/v1/report?source=XXX&referenceId=XXXXXXXXXXXXXXX&reportFormat=JSON" |
对象: rulesEvaluated
字段名 | 必填项 | 类型 | 长度 | 描述 | 示例 |
---|---|---|---|---|---|
result | 可选 | 字符串 | 8 | 结果。 | "通过","失败","手动","错误" |
weight | 可选 | 字符串 | 4 | 权重。 | "0" |
ruleId | 可选 | 字符串 | 16 | 规则ID。 | "BLK01" |
ruleDescription | 是 | 字符串 | 128 | 规则描述。 | "检查是否存在任何黑名单引用" |
示例消息
- 请求
- 响应
/download-ctos GET 请求
curl -X GET "https://xxx.finexusgroup.com/ACDD/rest/v1/download-ctos?source=FNXCRDS&partnerId=bsss&productType=loanapplication&reference=2003160192931&referenceId=2003160192931&apiVersion=1.3&reportFormat=XML&language=en&apiKey=123-KEJRU-001" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
/download-ctos GET 响应
{
"status": {
"sourceInfo": {
"source": "FNXCRDS",
"partnerId": "BSSS",
"productType": "BSSS01",
"reference": "50074154501001",
"apiVersion": "1.3",
"apiKey": "123XXXXXX001",
"referenceId": ""
},
"errorList": [
{
"msgText": "",
"msgCode": ""
}
],
"status": "SUCCESS"
},
"payload": {
"ctosReport": "<xml></xml>"
}
}