|
|
@ -23,6 +23,7 @@ var InitiateViewOption = null;
|
|
|
|
var deviceIdentifier = deviceId.data("deviceid");
|
|
|
|
var deviceIdentifier = deviceId.data("deviceid");
|
|
|
|
var deviceType = deviceId.data("type");
|
|
|
|
var deviceType = deviceId.data("type");
|
|
|
|
var ownership = deviceId.data("ownership");
|
|
|
|
var ownership = deviceId.data("ownership");
|
|
|
|
|
|
|
|
var devStatus = deviceId.data("status");
|
|
|
|
var payload = [deviceIdentifier];
|
|
|
|
var payload = [deviceIdentifier];
|
|
|
|
var operationTable;
|
|
|
|
var operationTable;
|
|
|
|
var serviceUrl;
|
|
|
|
var serviceUrl;
|
|
|
@ -35,7 +36,7 @@ var InitiateViewOption = null;
|
|
|
|
serviceUrl = "/api/device-mgt/android/v1.0/admin/devices/info";
|
|
|
|
serviceUrl = "/api/device-mgt/android/v1.0/admin/devices/info";
|
|
|
|
serviceUrlLocal = "/api/device-mgt/android/v1.0/admin/devices/location";
|
|
|
|
serviceUrlLocal = "/api/device-mgt/android/v1.0/admin/devices/location";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (serviceUrl) {
|
|
|
|
if (serviceUrl && ("REMOVED" !== devStatus)) {
|
|
|
|
invokerUtil.post(
|
|
|
|
invokerUtil.post(
|
|
|
|
serviceUrl,
|
|
|
|
serviceUrl,
|
|
|
|
payload,
|
|
|
|
payload,
|
|
|
|