---
title: "Get All Loans"
method: GET
path: "/loans"
tags: ["Loans"]
---

# Get All Loans

`GET /loans`

Fetch all loan details of employees

## Query parameters

- `status` string
- `employeeIds` string
- `loanIds` string
- `loanCategoryIds` string
- `currencyIds` string
- `pageNumber` integer
- `pageSize` integer

## Response `200`

OK

- LoanSummaryResponse — class represents paged response.
  - `succeeded` boolean — Gets or sets a value indicating whether this Keka.API.Web.Core.Response`1 is succeeded.
  - `message` string, nullable — Gets or sets the message.
  - `errors` string[], nullable — Gets or sets the errors.
  - `data` LoanSummary[], nullable — Gets or sets the data.
    - `employeeId` string, uuid
    - `employeeFullName` string, nullable
    - `employeeNumber` string, nullable
    - `email` string, nullable
    - `loanId` string, uuid
    - `loanCategory` string, nullable
    - `loanCategoryId` string, uuid, nullable
    - `status` 0 | 1 | 2 | 3 | 4 | 5
    - `totalRepaymentAmount` number, double, nullable
    - `currency` string, nullable
    - `totalPrincipalAmount` number, double
    - `totalInterestAmount` number, double, nullable
    - `preEMIInterest` number, double, nullable
    - `emiAmount` number, double, nullable
    - `interestRatePerAnnum` string, nullable
    - `loanAmount` number, double
    - `typeOfInterest` integer, nullable
    - `loanReleaseDate` string, date-time, nullable
    - `disbursalMode` 0 | 1
    - `disbursalStatus` 0 | 1
    - `emiDeductsFrom` string, date-time, nullable
    - `notes` string, nullable
    - `repaymentDetails` LoanRepaymentDetailsDto
      - `outstandingAmount` number, double, nullable
      - `repaymentTerm` integer
      - `remainingTerm` integer, nullable
      - `repaymentStatus` 0 | 1 | 2 | 3 | 4 | 5
  - `pageNumber` integer — Gets or sets the page number.
  - `pageSize` integer — Gets or sets the size of the page.
  - `firstPage` string, uri, nullable — Gets or sets the first page.
  - `lastPage` string, uri, nullable — Gets or sets the last page.
  - `totalPages` integer — Gets or sets the total pages.
  - `totalRecords` integer — Gets or sets the total records.
  - `nextPage` string, uri, nullable — Gets or sets the next page.
  - `previousPage` string, uri, nullable — Gets or sets the previous page.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/keka/apis/keka-api.md) · [All operations](https://skmtc.net/keka/apis/keka-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/keka/keka-api/revisions/907ea395c885/schema)
