Added logic for using UCB and NABARD servers for respective DCCBs
This commit is contained in:
parent
3da8533a4c
commit
2345878633
@ -31,7 +31,15 @@ public class RequestResponse {
|
||||
static Statement statement = null;
|
||||
|
||||
public static ArrayList<DataBean> get_response(String jsonInputString, String date) throws IOException {
|
||||
String urlFromDatabase = "https://IPKS.cedgeapiservices.in/IPKSTRAN";
|
||||
// String urlFromDatabase = "https://IPKS.cedgeapiservices.in/IPKSTRAN";
|
||||
String urlFromDatabase = "";
|
||||
String bc = new JSONObject(jsonInputString).getString("bankcode");
|
||||
if(bc.equals("0005") || bc.equals("0021")) {
|
||||
urlFromDatabase = "https://NABARDIPKS.cedgeapiservices.in/IPKSTRAN";
|
||||
} else {
|
||||
urlFromDatabase = "https://UCBIPKS.cedgeapiservices.in/IPKSTRAN";
|
||||
}
|
||||
|
||||
System.out.println("Req MSG : " + jsonInputString);
|
||||
ArrayList<DataBean> data = new ArrayList<>();
|
||||
URL url = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user