Skip to content

Endpoint reference (detailed)

Before a user can search or filter loan applications in the dashboard, the frontend application calls this endpoint to populate the filter menus. It returns the pre-defined reference options for loan status flags and submission years.

  • URL: /dropdown/filters
  • Method: GET
  • Authentication: Bearer <token> (JWT) required in Authorization header
  • Content-Type: application/json
  • Description: This API will returns the loan application status and application year dropdown options that is available in the search filter. Positive case returns 200 OK.

Model: Dropdown Response

Field Type Description
loanStatus array List of Loan application status
applicationYear array List of application year

Dropdown Response


loanStatus: `array<LoanStatus>`  
applications: `array<ApplicationYear>`

Example

Response:

{
  "loanStatus": ["Approved", "Pending", "Rejected"],
  "applicationYear": ["2023", "2024", "2025"]
}

dropdown