Skip to main content

Fetch Completed Request

GET Completed Request

This API is used for fetch all the service requests that the creator has submitted and the checker has accepted or denied.

URL: {{base_url}}/loan-management/v1/service-request/fetch

Request
Request Type: GET
Authorization: Bearer Token
Query Parameter
KeyData TypeDefault Value
request_type *completedFixed
pageNoInteger1
pageSizeInteger10
fromDateString-
fromDateString-
serviceRequestType
String-
* required Param

Response: 200

{
   "response": true,
   "data": {
      "sent_back": [],
      "initiated_pending_request_count": "integer",
      "pending": [
         {
            "status": "string",
            "created_date": "13/04/2023",
            "service_request_id": "integer",
            "loan_number": "string",
            "service_request_type": "string",
            "transaction_date": "31/01/2024",
            "service_request_type_substring": "string",
            "payment_amount": 0,
            "receipt_amount": 0,
            "created_by": "string",
            "loan_id": "integer",
            "assigned_to": null
         }
      ],
      "completed": [],
      "total_no_of_records": "integer",
      "completed_request_count": "integer"
   },
   "error": null
}