Subversion Repositories SmartDukaan

Rev

Rev 27458 | Rev 27460 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27458 Rev 27459
Line 1148... Line 1148...
1148
 
1148
 
1149
		String authString = "Basic "
1149
		String authString = "Basic "
1150
				+ Base64.getEncoder().encodeToString(String.format("%s:%s", ACCOUNT_ID, SECRET_KEY).getBytes());
1150
				+ Base64.getEncoder().encodeToString(String.format("%s:%s", ACCOUNT_ID, SECRET_KEY).getBytes());
1151
 
1151
 
1152
		for (String geofenceId : geofenceIds) {
1152
		for (String geofenceId : geofenceIds) {
1153
			Request request1 = new Request.Builder().url("https://v3.api.hypertrack.com/geofences/" + geofenceId)
1153
			Request request1 = new Request.Builder().url("https://v3.api.hypertrack.com/geofences/"+geofenceId)
1154
					.delete().addHeader("Authorization", authString).build();
1154
					.delete().addHeader("Authorization", authString).build();
-
 
1155
			LOGGER.info("url" + "https://v3.api.hypertrack.com/geofences/"+geofenceId);
1155
			LOGGER.info("geofenceId" + geofenceId);
1156
			LOGGER.info("geofenceId" + geofenceId);
1156
			Response response = client.newCall(request1).execute();
1157
			Response response = client.newCall(request1).execute();
1157
 
1158
 
1158
			LOGGER.info("response" + response.body().string());
1159
			LOGGER.info("response"+response);
1159
		}
1160
		}
1160
 
1161
 
1161
	}
1162
	}
1162
 
1163
 
1163
	public void processSchemeOut(int fofoId, int orderId) throws Exception {
1164
	public void processSchemeOut(int fofoId, int orderId) throws Exception {