CTOS 报告
/ctosreport
Method : GET
URL : https://xxx.finexusgroup.com/acdd/rest/v1/ctosreport
信息
这个方法将检索在先前使用的个人或组织的 CTOS 报告 /checkpersoncdd POST or /checkorgcdd POST request.
- 请求
- 响应
请求参数
字段名 | 必填项 | 类型 | 长度 | 描述 | 示例 |
---|---|---|---|---|---|
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 | 状态。 | "SUCCESS","QUEUED","FAIL" |
对象: 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 | 消息文本。 | "CTOS report unsuccessfully retrieved." |
msgCode | 是 | 字符串 | 8 | 消息代码。 | "404" |
对象: payload
字段名 | 必填项 | 类型 | 长度 | 描述 | 示例 |
---|---|---|---|---|---|
rulesEvaluated | 是 | 对象 | 评估规则。 | 参阅下文说明。 | |
recommendation | 是 | 字符串 | 2 | 建议。 | "Accept","Reject","Manual" |
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 | 结果。 | "PASS","FAIL", "MANUAL", "Error" |
weight | 可选 | 字符串 | 4 | 权重。 | "0" |
ruleId | 可选 | 字符串 | 16 | 规则ID。 | "BLK01" |
ruleDescription | 是 | 字符串 | 128 | 规则描述。 | "Check for any blacklist reference" |
示例消息
- 请求
- 响应
/ctosreport GET 请求
curl -X GET "https://xxx.finexusgroup.com/ACDD/rest/v1/ctosreport?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" \
/ctosreport GET 响应
{
"status":{
"sourceInfo":{
"source":"FNXCRDS",
"partnerId":"BSSS",
"productType":"BSSS01",
"reference":"50074154501001",
"apiVersion":"1.3",
"apiKey":"123KEJRU001",
"referenceId":"50074154501001"
},
"errorList":[
{
"msgText":"CTOS report unsuccessfully retrieved.",
"msgCode":"404"
}
],
"status":"SUCCESS"
},
"payload":{
"rulesEvaluated":[
{
"result":"PASS",
"weight":0,
"ruleId":"AG001",
"ruleDescription":"Check Aging Status"
},
{
"result":"PASS",
"weight":0,
"ruleId":"LP001",
"ruleDescription":"Check Legal Personal Capacity"
},
{
"result":"PASS",
"weight":0,
"ruleId":"BK001",
"ruleDescription":"Check Bankruptcy"
},
{
"result":"PASS",
"weight":0,
"ruleId":"LNP01",
"ruleDescription":"Check Legal Non-Personal Capacity"
},
{
"result":"PASS",
"weight":0,
"ruleId":"SA001",
"ruleDescription":"Check Special Attention Status"
},
{
"result":"PASS",
"weight":0,
"ruleId":"OL01",
"ruleDescription":"Check Outstanding Loan"
}
],
"recommendation":"接受",
"threshold":33,
"riskScore":100,
"xmlReport":"https://xxx.finexusgroup.com/ACDD/rest/v1/report?source=XXX&referenceId=XXXXXXXXXXXXXXX&reportFormat=XML"
}
}