Skip to main content

Service Request Actions

Service Request Action

The process of taking action (Approve or Reject) in response to a request that is generated by the requester for an action that has to be assessed or evaluated in order to apply it to the System.

  1. Approve Service Request
  2. Reject Service Request

Screenshot 2023-04-20 at 1.01.55 AM.png




POST Approve Service Request

The user uses this API to review the request and approve the request if every detail and data is accurate. So that the changes can be reflected in the loan for LMS.

URL: {{base_url}}/loan-modification/v1/service-request/action

Request
Request Type: POST
Authorization: Bearer Token

Query Parameter
No Parameter
Request Body Required


{
    "action": "approved",
    "action_by": "checker",
    "comment": "",
    "service_request_id": integer
}



Request: 200
{
        "response":  true,
        "data": {},
        "error": {}
}




POST Reject Service Request

The user uses this API to review the request and reject the request if the checker finds error in the request so that it is not implemented in the LMS system.

URL: {{base_url}}/loan-modification/v1/service-request/action

Request
Request Type: POST
Authorization: Bearer Token

Query Parameter
No Parameter
Request Body Required


{
    "action": "rejected",
    "action_by": "checker",
    "comment": "",
    "service_request_id": integer
}



Request: 200
{
        "response":  true,
        "data": {},
        "error": {}
}