Subversion Repositories SmartDukaan

Rev

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

Rev 28115 Rev 28116
Line 138... Line 138...
138
					.url("https://v3.api.hypertrack.com/devices/" + hyperTrackKey.getHypertrackKeyId() + "/start")
138
					.url("https://v3.api.hypertrack.com/devices/" + hyperTrackKey.getHypertrackKeyId() + "/start")
139
					.post(reqbody).addHeader("Authorization", authString).build();
139
					.post(reqbody).addHeader("Authorization", authString).build();
140
 
140
 
141
			Response resp = client.newCall(request2).execute();
141
			Response resp = client.newCall(request2).execute();
142
			LOGGER.info("resp" + resp);
142
			LOGGER.info("resp" + resp);
143
 
-
 
-
 
143
			em = new EmployeeAttendanceModel();
-
 
144
			em.setPunchIn(false);
144
		} else if (status.equals("active")) {
145
		} else if (status.equals("active")) {
145
			JSONObject c = jsonObj.getJSONObject("location");
146
			JSONObject c = jsonObj.getJSONObject("location");
146
			JSONObject d = c.getJSONObject("geometry");
147
			JSONObject d = c.getJSONObject("geometry");
147
			JSONArray coords = d.getJSONArray("coordinates");
148
			JSONArray coords = d.getJSONArray("coordinates");
148
 
149