Skip to main content

Fetch Data for Search Filter

POST Filter Loan By

The loan details in the SynoFin System can be filtered and sorted using the Loan Status, Product, Account Number, PAN Number, Aadhar Number, and Customer Name values provided by user. 

image.png

URL: {{base_url}}/loan-management/v1/getMasterType

Request

Request Type: POST
Authorization: Bearer Token

Request Body
[
    {
        "type": "loans_filter_by"
    }
]


Request:

Status Code : 200 OK
{
    "response": true,
    "data": [
        {
            "loans_filter_by": {
                "values": [
                    {
                        "key": "loan_status",
                        "value": "Loan Status"
                    },
                    {
                        "key": "voter_number",
                        "value": "Voter Number"
                    },
                    {
                        "key": "product",
                        "value": "Product"
                    },
                    {
                        "key": "scheme",
                        "value": "Scheme"
                    },
                    {
                        "key": "source_application_number",
                        "value": "Source Application Number"
                    },
                    {
                        "key": "aadhar_number",
                        "value": "AADHAR Number"
                    },
                    {
                        "key": "ckyc_number",
                        "value": "CKYC Number"
                    },
                    {
                        "key": "disbursal_status",
                        "value": "Disbursal Status"
                    },
                    {
                        "key": "pan_number",
                        "value": "PAN Number"
                    },
                    {
                        "key": "global_customer_id",
                        "value": "Global Customer Id"
                    },
                    {
                        "key": "vehicle_number",
                        "value": "Vehicle Number"
                    },
                    {
                        "key": "branch_name",
                        "value": "Branch Name"
                    },
                    {
                        "key": "sourcing_rm",
                        "value": "SourcingRM"
                    },
                    {
                        "key": "phone_number",
                        "value": "Phone Number"
                    },
                    {
                        "key": "customer_name",
                        "value": "Customer Name"
                    },
                    {
                        "key": "disbursal_date",
                        "value": "Disbursal Date"
                    },
                    {
                        "key": "loan_tenure",
                        "value": "Loan Tenure"
                    },
                    {
                        "key": "request_id",
                        "value": "Request Id"
                    },
                    {
                        "key": "loan_account_number",
                        "value": "Loan Account Number"
                    }
                ],
                "parent": null
            }
        }
    ],
    "error": null
}

Status Code: 400 BAD REQUEST
{
    "response": false,
    "data": null,
    "error": {
        "code": 0,
        "text": "string",
        "detail": "string"
    }
}

Expected messages as per Status API :

Error Code Description
107001 An Exception occurred in saving data