API Manager

Credit Scoring Engine

UI Simulation
Simulated Hidden Fields:
Score
JSON

This button collects data from simulated inputs and sends it to the API.
Integration Code
curl -X POST https://extapi.jacuji.com/score/calculate \
  -H "Content-Type: application/json" \
  -d '{
    "requestId": "REQ_12345",
    "financialPartner": "HDFC Bank",
    "type": "Small",
    "simahScore": "630",
    "dscr": "8.44",
    "profitMargin": "21.84",
    "legalEntity": "Limited Liability Company LLC",
    "businessFacilities": "Cash",
    "loanTerms": "12",
    "guaranteePercentage": "80"
    // ... add other scoring fields as needed
}'
const payload = {
    // NEW: requestId and financialPartner
    requestId: $('#requestId').val(),
    financialPartner: $('#financialPartner').val(),
    
    type: "Small",
    simahScore: "630",
    dscr: "8.44",
    profitMargin: "21.84",
    legalEntity: "Limited Liability Company LLC",
    businessFacilities: "Cash",
    loanTerms: "12",
    guaranteePercentage: "80",
    // ... map other form inputs here
};

$.ajax({
    url: 'https://extapi.jacuji.com/score/calculate',
    type: 'POST',
    contentType: 'application/json',
    data: JSON.stringify(payload),
    success: function(response) {
        if(response.success) {
            // 1. Store Data in Joget Fields
            $("[name$='_creditScore']").val(response.data.finalScore);
            $("[name$='_creditScoreJson']").val(JSON.stringify(response.data));
            
            // 2. Render UI
            renderDashboard(response.data);
        }
    }
});
Recent API Activity: Credit Score Internal
ID Method Endpoint Status Timestamp Action
Loading logs...