Added logic to use UCB adn NABARD servers.
This commit is contained in:
parent
675f029e81
commit
5eacf8175d
@ -30,9 +30,15 @@ public class RequestResponse {
|
||||
|
||||
public static ArrayList<DataBean> get_response(String jsonInputString, String date)
|
||||
throws IOException {
|
||||
String urlFromDatabase = "https://IPKS.cedgenetbanking.in/IPKSTRAN";
|
||||
|
||||
System.out.println("Req MSG : " + jsonInputString);
|
||||
// String urlFromDatabase = "https://IPKS.cedgenetbanking.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/cdegeapiservices.in/IPKSTRAN";
|
||||
}
|
||||
System.out.println(urlFromDatabase);
|
||||
ArrayList<DataBean> data = new ArrayList<>();
|
||||
URL url = null;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user