18-02-2021 16:35

Список типов скоринговых проверок для системы принятия решения

GET   /bs-core/main/scoring-rule-step-types

Для того чтобы получить только действующие типы скоринговых проверок, нужно в адресной строке передать параметр active со значением true (c релиза 2.0.0-67​).

Запрос

/bs-core/main/scoring-rule-step-types

или

/bs-core/main/scoring-rule-step-types?active=true
Описание параметров
Нет описанных параметров

Ответ


                        {
    "status": "ok",
    "timestamp": 1462959828086,
    "data": [
        {
            "id": 1,
            "name": "Росфинмониторинг",
            "code": "ROSFINMON",
            "type": "GATEWAY_REQUEST",
            "configs": [
                {
                    "code": "HOST_NAME",
                    "value": "http://gateway"
                },
                {
                    "code": "ADDRESS_PATTERN",
                    "value": "%1$s/inside/rfn/check_by_json/taskId/%2$s/leadId/%3$s"
                }
            ],
            "fields": []
        },
        {
            "id": 2,
            "name": "Скориста",
            "code": "SCORISTA",
            "type": "GATEWAY_REQUEST",
            "configs": [
                {
                    "code": "HOST_NAME",
                    "value": "http://gateway"
                },
                {
                    "code": "ADDRESS_PATTERN",
                    "value": "%1$s/inside/scorista/make/taskId/%2$s/leadId/%3$s"
                }
            ],
            "fields": []
        },
        {
            "id": 3,
            "name": "Внутренний скоринг",
            "code": "INNER_SCORING",
            "type": "INNER_SCORING",
            "configs": [],
            "fields": []
        },
        {
            "id": 4,
            "name": "Проверка номера карты",
            "code": "CARD_CHECK",
            "type": "GATEWAY_REQUEST",
            "configs": [
                {
                    "code": "HOST_NAME",
                    "value": "http://gateway"
                },
                {
                    "code": "ADDRESS_PATTERN",
                    "value": "%1$s/inside/blacklist/checkcard/taskId/%2$s/leadId/%3$s"
                }
            ],
            "fields": []
        },
        {
            "id": 5,
            "name": "Проверка клиента",
            "code": "CLIENT_CHECK",
            "type": "GATEWAY_REQUEST",
            "configs": [
                {
                    "code": "HOST_NAME",
                    "value": "http://gateway"
                },
                {
                    "code": "ADDRESS_PATTERN",
                    "value": "%1$s/inside/blacklist/checkclient/taskId/%2$s/leadId/%3$s"
                }
            ],
            "fields": []
        },
        {
            "id": 6,
            "name": "Проверка компании",
            "code": "COMPANY_CHECK",
            "type": "GATEWAY_REQUEST",
            "configs": [
                {
                    "code": "HOST_NAME",
                    "value": "http://gateway"
                },
                {
                    "code": "ADDRESS_PATTERN",
                    "value": "%1$s/inside/blacklist/checkcompany/taskId/%2$s/leadId/%3$s"
                }
            ],
            "fields": []
        },
        {
            "id": 7,
            "name": "Проверка компьютера",
            "code": "PC_CHECK",
            "type": "GATEWAY_REQUEST",
            "configs": [
                {
                    "code": "HOST_NAME",
                    "value": "http://gateway"
                },
                {
                    "code": "ADDRESS_PATTERN",
                    "value": "%1$s/inside/blacklist/checkcomputer/taskId/%2$s/leadId/%3$s"
                }
            ],
            "fields": []
        },
        {
            "id": 8,
            "name": "Проверка мобильного телефона",
            "code": "MOBILE_CHECK",
            "type": "GATEWAY_REQUEST",
            "configs": [
                {
                    "code": "HOST_NAME",
                    "value": "http://gateway"
                },
                {
                    "code": "ADDRESS_PATTERN",
                    "value": "%1$s/inside/blacklist/checkmobile/taskId/%2$s/leadId/%3$s"
                }
            ],
            "fields": []
        },
        {
            "id": 9,
            "name": "Проверка паспорта ФМС",
            "code": "FMS_CHECK",
            "type": "GATEWAY_REQUEST",
            "configs": [
                {
                    "code": "HOST_NAME",
                    "value": "http://gateway"
                },
                {
                    "code": "ADDRESS_PATTERN",
                    "value": "%1$s/inside/fms/check_by_json/taskId/%2$s/leadId/%3$s"
                }
            ],
            "fields": []
        },
        {
            "id": 10,
            "name": "Кредитная история Equifax",
            "code": "EQUIFAX",
            "type": "GATEWAY_REQUEST",
            "configs": [
                {
                    "code": "HOST_NAME",
                    "value": "http://gateway"
                },
                {
                    "code": "ADDRESS_PATTERN",
                    "value": "%1$s/inside/bki/history/taskId/%2$s/leadId/%3$s"
                }
            ],
            "fields": []
        },
        {
            "id": 11,
            "name": "Выполнение выражения",
            "code": "EXPRESSION",
            "type": "EXPRESSION",
            "configs": [],
            "fields": [
                {
                    "id": 1,
                    "field": "expression",
                    "type": "String"
                }
            ]
        },
        {
            "id": 12,
            "name": "Ручная проверка",
            "code": "MANUAL_STATUS_CHANGE",
            "type": "MANUAL_CHECK",
            "configs": [],
            "fields": [
                {
                    "id": 2,
                    "field": "processingStatusTo",
                    "type": "LoanProcessingStatus"
                },
                {
                    "id": 3,
                    "field": "responsibleRole",
                    "type": "Role"
                }
            ]
        },
        {
            "id": 13,
            "name": "Проверка e-mail адреса",
            "code": "EMAIL_CHECK",
            "type": "GATEWAY_REQUEST",
            "configs": [
                {
                    "code": "HOST_NAME",
                    "value": "http://gateway"
                },
                {
                    "code": "ADDRESS_PATTERN",
                    "value": "%1$s/inside/blacklist/checkemail/taskId/%2$s/leadId/%3$s"
                }
            ],
            "fields": []
        }
    ]
}
                    
У данной функции отсутствует описание параметров ответа