Skip to main content

Fetch Pending Service Request

Screenshot 2023-04-20 at 3.25.07 PM.png


GET Pending Request

This API is used for receiving service requests that the creator has submitted but hasn't yet accepted or denied. Any request is acceptable, such as ones for Payments, Rescheduling, Foreclosure, etc.

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 * initiated 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": [
         {
            "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
}