Get Loan Expectation Report

To retrieve the loan expectation report, send a GET request to the following endpoint: GET api/Report/v1/GetLoanExpectationReport The request must include the necessary parameters in the request query to identify the specific loan and criteria for the report. This process facilitates the retrieval of loan expectation reports and effectively manages loan-related information for analysis and decision-making.

Headers

Name
Value

Content-Type*

application/json

Authorization*

Bearer <token>

Request-Reference

{unique-reference}

Query Parameter

Name
Data Type (length)
Description

accountNumber

string

The unique number identifying the account

branchCode

string

The code representing the branch of the account

accountOfficerCode

string

The code identifying the account officer

productCode

string

The product code linked to the account

startDate

date

The start date of the query period

endDate

date

The end date of the query period

pageNumber

integer

The page number for paginated results

pageSize

integer

The number of records per page

sortColumn

string

The column by which the results are sorted

direction

string

The direction of sorting, either Asc (ascending) or Desc

Here is an example request and response with a sample payload sent to the endpoint in Curl format.

Sample Request
curl --location 'https://openapi-dev.udara360.io/api/Report/v1/GetLoanExpectationReport?AccountNumber=1000002993&BranchCode=001&AccountOfficerCode=009&ProductCode=001&StartDate=2022-01-01&EndDate=2022-05-09&PageNumber=1&PageSize=10&SortColumn=StartDate&Direction=asc' \
--header 'Authorization: bearer {token}' \
--header 'request-reference: {unique_reference}' \
--header 'Content-Type: application/json' \
--data ''
Respose: 200
{
  "status": true,
  "message": "string",
  "data": {
    "data": [
      {
        "sn": 0,
        "accountName": "string",
        "accountNumber": "string",
        "dueDate": "2023-01-29T15:18:35.590Z",
        "principal": 0,
        "interest": 0,
        "fee": 0,
        "total": 0
      }
    ],
    "recordCount": 0
  }
}

Last updated