Skip to main content

Fetch Completed Service Request

Screenshot 2023-04-20 at 3.25.27 PM.png


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.denied the request.

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

Request
Request Type: GET
Authorization: Bearer Token
Query Parameter
Key Data Type Default Value
request_type * completed Fixed
pageNo Integer 1
pageSize Integer 10
fromDate String -
fromDate String -
serviceRequestType
String -
* required Param

Response: 200

{
   "response": true,
   "data": {
      "sent_back": [],
      "initiated_pending_request_count": "integer",
      "pending": [],
      "completed": [
           {
            "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
}