03-12-2018 23:59

Получение системы принятия решения по идентификатору

GET   /bs-core/main/scoring-rule-step-schemas/{id}

Запрос

GET /bs-core/main/scoring-rule-step-schemas/2 HTTP/1.1
Описание параметров
Нет описанных параметров

Ответ


                        {
    "status": "ok",
    "timestamp": 1462961071049,
    "data": {
        "name": "test",
        "id": 2,
        "ruleSteps": [
            {
                "id": 19,
                "ruleStepTypeId": 11,
                "orderNo": 0,
                "blocking": true,
                "allowing": false,
                "branchSchemaId": null,
                "denialReasonId": 101557,
                "fields": [
                    {
                        "id": 5,
                        "stepTypeFieldId": 1,
                        "value": "lead.getAge() > 18 && lead.getAge()     "denialReasonId": null,
                "fields": []
            },
            {
                "id": 16,
                "ruleStepTypeId": 5,
                "orderNo": 3,
                "blocking": true,
                "allowing": false,
                "branchSchemaId": null,
                "denialReasonId": 101559,
                "fields": []
            },
            {
                "id": 17,
                "ruleStepTypeId": 3,
                "orderNo": 4,
                "blocking": true,
                "allowing": false,
                "branchSchemaId": null,
                "denialReasonId": 101552,
                "fields": []
            },
            {
                "id": 18,
                "ruleStepTypeId": 10,
                "orderNo": 5,
                "blocking": false,
                "allowing": false,
                "branchSchemaId": null,
                "denialReasonId": null,
                "fields": []
            },
            {
                "id": 22,
                "ruleStepTypeId": 11,
                "orderNo": 6,
                "blocking": true,
                "allowing": false,
                "branchSchemaId": null,
                "denialReasonId": 101556,
                "fields": [
                    {
                        "id": 8,
                        "stepTypeFieldId": 1,
                        "value": "bkinohistory==1"
                    }
                ]
            },
            {
                "id": 20,
                "ruleStepTypeId": 11,
                "orderNo": 7,
                "blocking": true,
                "allowing": false,
                "branchSchemaId": null,
                "denialReasonId": 101553,
                "fields": [
                    {
                        "id": 6,
                        "stepTypeFieldId": 1,
                        "value": "bkinpl90 == 0"
                    }
                ]
            },
            {
                "id": 21,
                "ruleStepTypeId": 12,
                "orderNo": 8,
                "blocking": true,
                "allowing": false,
                "branchSchemaId": null,
                "denialReasonId": null,
                "fields": [
                    {
                        "id": 7,
                        "stepTypeFieldId": 2,
                        "value": "102509"
                    },
                    {
                        "id": 15,
                        "stepTypeFieldId": 3,
                        "value": null
                    }
                ]
            }
        ]
    }
}
                    
У данной функции отсутствует описание параметров ответа