Skip to content

Dropdowns

Endpoint reference (detailed)

All request and response bodies are JSON unless otherwise stated. For each endpoint below you'll find:

  • API path
  • Short one-line description
  • Positive and negative cases for: Request type, Request body, Response body, Status code

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>

  • URL: /dropdown/filters
  • Method: GET
  • 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.

Example:

Response:

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

dropdown