预先批准报告
/preappreport
Method : GET
URL : https://xxx.finexusgroup.com/acdd/rest/v1/preappreport
信息
这个方法将会检索先前在 /checkpersoncdd POST 请求中使用的个人的预批准报告。
- 请求
- 响应
请求参数
字段名 | 必填项 | 类型 | 长度 | 描述 | 示例 |
---|---|---|---|---|---|
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 | 允许。 | PreApprovalDetails |
400 | 错误的请求。 | N/A |
401 | 未经授权的访问。 | N/A |
405 | 禁止访问。 | N/A |
响应参数
字段名 | 必填 | 类型 | 长度 | 描述 | 示例 |
---|---|---|---|---|---|
status | 是 | 对象 | 状态。 | 参阅下文说明。 | |
payload | 可选 | 对象 | 预先批准的评估结果。 | 参阅下文说明。 |
对象:status
字段名 | 必填 | 类型 | 长度 | 描述 | 示例 |
---|---|---|---|---|---|
sourceInfo | 是 | 对象 | 来源信息。 | 参阅下文说明。 | |
errorlist | 是 | 对象 | 错误列表。 | 参阅下文说明。 | |
status | 是 | 字符串 | 16 | 状态。 | "SUCCESS","QUEUED","FAIL" |
对象:sourceInfo
字段名 | 必填 | 类型 | 长度 | 描述 | 示例 |
---|---|---|---|---|---|
source | 是 | 字符串 | 16 | 来源。 | "FNXCRDS" |
partnerId | 是 | 字符串 | 128 | 合作伙伴ID。 | "BSSS" |
productType | 是 | 字符串 | 128 | 产品类型。 | "BSSS01" |
reference | 是 | 字符串 | 64 | 参考。 | "50074154501001" |
referenceId | 是 | 字符串 | 64 | 参考ID。 | "50074154501001" |
apiVersion | 是 | 字符串 | 8 | API版本。 | "1.2" |
apiKey | 有条件的 | 字符串 | 64 | API密钥。 | "123KEJRU001" |
对象:errorList
字段名 | 必填 | 类型 | 长度 | 描述 | 示例 |
---|---|---|---|---|---|
msgText | 是 | 字符串 | 128 | 消息文本。 | "Pre-approval report unsuccessfully retrieved." |
msgCode | 是 | 字符串 | 8 | 消息代码。 | "404" |
对象:payload
字段名 | 必填 | 类型 | 长度 | 描述 | 示例 |
---|---|---|---|---|---|
rulesEvaluated | 是 | 对象 | 评估的规则。 | 参阅下文说明。 | |
recommendation | 是 | 字符串 | 2 | 建议。 | "Accept","Reject","Manual" |
threshold | 可选 | 数字 | 4 | 阈值。 | 33 |
riskScore | 可选 | 数字 | 4 | 风险分数。 | 33 |
对象:rulesEvaluated
字段名 | 必填 | 类型 | 长度 | 描述 | 示例 |
---|---|---|---|---|---|
result | 可选 | 字符串 | 8 | 结果。 | "PASS","FAIL", "MANUAL", "Error" |
weight | 可选 | 字符串 | 4 | 权重。 | "0" |
ruleId | 可选 | 字符串 | 16 | 规则ID。 | "BLK01" |
ruleDescription | 是 | 字符串 | 128 | 规则描述。 | "Check for any blacklist reference" |
示例消息
- 请求
- 响应
/preappreport GET 请求
curl -X GET "https://xxx.finexusgroup.com/ACDD/rest/v1/preappreport?source=FNXCRDS&partnerId=bsss&productType=loanapplication&reference=2003160192931&apiVersion=1.3&referenceId=2003160192931&language=en&apiKey=123-KEJRU-001" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
/preappreport GET 响应
{
"status":{
"sourceInfo":{
"source":"FNXCRDS",
"partnerId":"BSSS",
"productType":"BSSS01",
"reference":"50074154501001",
"apiVersion":"1.3",
"apiKey":"123KEJRU001",
"referenceId":"50074154501001"
},
"errorList":[
{
"msgText":"Pre-approval report unsuccessfully retrieved",
"msgCode":"404"
}
],
"status":"SUCCESS"
},
"payload": {
"rulesEvaluated": [
{
"result":"PASS",
"weight":0,
"ruleId":"Age01",
"ruleDescription":"Check for Age qualification"
},
{
"result":"PASS",
"weight":0,
"ruleSaliency":"",
"ruleId":"Income",
"ruleDescription":"Check for Income qualification"
}
],
"recommendation": "Accept",
"threshold": 10,
"riskScore": 0
}
}