B Real-Time Request to Check the Service Running Status

You can check whether the individual or entity services are running by sending a real-time request in GET method. To execute the request, follow the subsequent steps:
  1. Open Postman or a relevant tool.
  2. Go to the Header tab.
  3. Send a request using the GET method. The request must be in the following format:

    HTTP Link: http://[servername]:[portnumber]/[context]/EdqCheck/CheckEdqRestService/checkEDQ?

  4. Enter the key values in the Query Params table.

    Table B-1 Query Params for Screening

    Key Value Mandatory/NotMandatory
    edqUrl http://100.76.157.111:8001 Mandatory
    projectName Customer-Screening Mandatory
    timeoutSeconds 10 Not Mandatory
    extraServiceName IndividualScreen/EntityScreen (Other than IndividualScreen and EntityScreen, if any new service is configured on your side pass that service value.) Not Mandatory

    Note:

    The Key and Value fields are case sensitive.
You will get the following response for a successful execution:
{ "payload": [
{ "serviceUrl": "http://100.76.157.111:8001/edq/restws/CustomerScreening:IndividualScreen", "serviceName": "IndividualScreen", "responseCode": 200, "status": "MATCH_FOUND"
},
{ "serviceUrl": "http://100.76.157.111:8001/edq/restws/CustomerScreening:EntityScreen", "serviceName": "EntityScreen", "responseCode": 200, "status": "MATCH_FOUND"
}
], "message": "EDQ and Enabled webservices are up.", "status": "SUCCESS"
}
You will get the following response for a failed execution:
{
"payload": [
{
"serviceUrl": "http://100.76.157.111:8001/edq/restws/Customer-Screening:IndividualScreen",
"serviceName": "IndividualScreen",
"responseCode": 500,
"status": "NOMATCH_FOUND"
},
{
"serviceUrl": "http://100.76.157.111:8001/edq/restws/Customer-Screening:EntityScreen",
"serviceName": "EntityScreen",
"responseCode": 500,
"status": "NOMATCH_FOUND"
}
],
"message": "One of the EDQ webservices is not up and running.",
"status": "NOMATCH_FOUND"
}