GET devices/{deviceId}

Searches for a specific device.

Remarks

C4M Error Code returned:

  • null

    Device returned successfully.

  • DeviceNotFound

    There's no device with the informed identifier.

HTTP Status returned:
  • 403 - Forbidden

    The authenticated user doesn't have permission to access the resource.

Request Information

Parameters

NameDescriptionAdditional information
deviceId
Device identifier.

Define this parameter in the request URI.

Response Information

Device data DTO.

Response body formats

application/json, text/json

Sample:
{
  "activeApplicationId": 1,
  "activeApplicationVersionName": "sample string 1",
  "activeApplicationVersionNameAsNumber": 1,
  "alias": "MyDevice",
  "androidForWorkPolicySettings": {
    "addUser": true,
    "adjustMasterVolume": true,
    "alwaysOnVpnPackage": {
      "lockdown": true,
      "packageName": "sample string 2"
    },
    "applicationAutoUpdatePolicy": 0,
    "autoTime": true,
    "bluetooth": true,
    "bluetoothConfiguration": true,
    "bluetoothContactSharing": true,
    "camera": true,
    "cellBroadcastsConfiguration": true,
    "credentialsConfiguration": true,
    "dataRoaming": true,
    "debuggingFeatures": true,
    "ensureVerifyApplications": true,
    "factoryReset": true,
    "forceHighAccuracy": true,
    "frpAdminEmails": [
      "sample string 1",
      "sample string 2"
    ],
    "installApplications": true,
    "keyguardFeatures": [
      0,
      0
    ],
    "locationMode": 0,
    "lockScreenInfo": "sample string 16",
    "maximumTimeToLock": 17,
    "microphone": true,
    "mobileNetworksConfiguration": true,
    "modifyAccounts": true,
    "mountPhysicalMedia": true,
    "networkReset": true,
    "outgoingBeam": true,
    "outgoingCalls": true,
    "permissionPolicy": 0,
    "permittedInputMethods": [
      "sample string 1",
      "sample string 2"
    ],
    "playStoreMode": 0,
    "removeUser": true,
    "safeMode": true,
    "screenCapture": true,
    "sendReceiveSms": true,
    "skipFirstUseHints": true,
    "stayOnPluggedModes": [
      0,
      0
    ],
    "systemUpdatePolicy": 0,
    "tetheringConfiguration": true,
    "uninstallApplications": true,
    "untrustedApplicationsPolicy": 0,
    "usbFileTransfer": true,
    "vpnConfiguration": true,
    "wifiConfiguration": true,
    "windowedUpdateEndTime": 35,
    "windowedUpdateStartTime": 36
  },
  "applicationInventory": {
    "applicationPackages": [
      {
        "friendlyName": null,
        "installationTime": "0001-01-01T00:00:00",
        "isSystemApplication": false,
        "lastUpdateTime": "0001-01-01T00:00:00",
        "packageName": null,
        "packageVersion": null,
        "packageVersionCode": null
      },
      {
        "friendlyName": null,
        "installationTime": "0001-01-01T00:00:00",
        "isSystemApplication": false,
        "lastUpdateTime": "0001-01-01T00:00:00",
        "packageName": null,
        "packageVersion": null,
        "packageVersionCode": null
      }
    ],
    "deviceDate": {
      "date": "2020-05-15T17:03:27.6960553-03:00",
      "timeZoneId": "E. South America Standard Time",
      "utcOffset": -180
    },
    "receivedDate": "2020-05-15T17:03:27.6960553-03:00"
  },
  "applicationSettings": [
    {
      "configurations": null,
      "packageName": "sample string 1"
    },
    {
      "configurations": null,
      "packageName": "sample string 1"
    }
  ],
  "applicationUsageStatisticsMonitorSettings": {
    "enabled": true,
    "monitoringInterval": 1,
    "storageTime": 1,
    "synchronizationInterval": 1
  },
  "batteryMonitorSettings": {
    "enabled": true,
    "monitoringInterval": 1,
    "storageTime": 1,
    "synchronizationInterval": 1
  },
  "blacklist": [
    {
      "alias": "My Android App",
      "id": 1,
      "packageName": "com.example.myandroidapp"
    },
    {
      "alias": "My Android App",
      "id": 1,
      "packageName": "com.example.myandroidapp"
    }
  ],
  "creationDate": "2020-05-15T17:03:27.6960553-03:00",
  "dataUsage": {
    "cycleStart": "2014-01-01T00:00:00",
    "deviceDate": {
      "date": "2020-05-15T17:03:27.6960553-03:00",
      "timeZoneId": "E. South America Standard Time",
      "utcOffset": -180
    },
    "receivedBytes": 1,
    "sentBytes": 2,
    "receivedDate": "2020-05-15T17:03:27.6960553-03:00"
  },
  "dataUsageMonitorSettings": {
    "beginOfCycle": 1,
    "enabled": true,
    "monitoringInterval": 1,
    "storageTime": 1,
    "synchronizationInterval": 1
  },
  "deviceInformation": {
    "carrier": "VIVO",
    "clientCapabilities": [
      "sample string 1",
      "sample string 2"
    ],
    "deviceDate": {
      "date": "2020-05-15T17:03:27.6960553-03:00",
      "timeZoneId": "E. South America Standard Time",
      "utcOffset": -180
    },
    "imei": "351756053423666",
    "imei2": "351756058473686",
    "locationMode": 1,
    "manufacturer": "Samsung",
    "model": "GT-I9505G",
    "serialNumber": "8988874351756053423666",
    "simCards": [
      {
        "carrier": "Orange",
        "lineNumber": "5132127055",
        "serialNumber": "8988874351756053423666"
      },
      {
        "carrier": "Orange",
        "lineNumber": "5132127055",
        "serialNumber": "8988874351756053423666"
      }
    ],
    "version": "4.1.2",
    "wifiMacAddress": "7c:11:11:11:11:11",
    "receivedDate": "2020-05-15T17:03:27.6960553-03:00"
  },
  "emailSettings": {
    "emailAddress": "sample string 1",
    "incomingEmailServerSettings": {
      "password": "sample string 1",
      "protocol": "sample string 2",
      "serverAcceptAllCertificates": true,
      "serverAddress": "sample string 4",
      "serverPort": 5,
      "sslEnabled": true,
      "tlsEnabled": true,
      "userName": "sample string 8"
    },
    "outgoingEmailServerSettings": {
      "password": "sample string 1",
      "protocol": "sample string 2",
      "serverAcceptAllCertificates": true,
      "serverAddress": "sample string 4",
      "serverPort": 5,
      "sslEnabled": true,
      "tlsEnabled": true,
      "userName": "sample string 8"
    }
  },
  "enabled": true,
  "group": {
    "enrollCode": "sample string 1",
    "fullName": "sample string 2",
    "id": 3,
    "name": "sample string 4",
    "parentFullName": "sample string 5",
    "parentGroupId": 1
  },
  "groupId": 1,
  "hardwareId": "0123456789012345",
  "id": 4,
  "lastBatteryData": {
    "deviceDate": {
      "date": "2020-05-15T17:03:27.6960553-03:00",
      "timeZoneId": "E. South America Standard Time",
      "utcOffset": -180
    },
    "level": 1,
    "receivedDate": "2020-05-15T17:03:27.6960553-03:00"
  },
  "lastCommunication": "2020-05-15T17:03:27.6960553-03:00",
  "lastGroupChangeDate": "2020-05-15T17:03:27.6960553-03:00",
  "lastLocation": {
    "lastCommunicationDate": "2020-05-15T17:03:27.6960553-03:00",
    "receivedDate": "2020-05-15T17:03:27.6960553-03:00",
    "accuracy": 1.1,
    "altitude": 1.1,
    "bearing": 1.1,
    "coordinate": {
      "latitude": 1.0,
      "longitude": 2.0
    },
    "deviceDate": {
      "date": "2020-05-15T17:03:27.6960553-03:00",
      "timeZoneId": "E. South America Standard Time",
      "utcOffset": -180
    },
    "speed": 1.1
  },
  "lastMemoryData": {
    "availableExternalStorage": 1,
    "availableInternalStorage": 1,
    "availableRamMemory": 2,
    "deviceDate": {
      "date": "2020-05-15T17:03:27.6960553-03:00",
      "timeZoneId": "E. South America Standard Time",
      "utcOffset": -180
    },
    "totalExternalStorage": 1,
    "totalInternalStorage": 3,
    "totalRamMemory": 4,
    "receivedDate": "2020-05-15T17:03:27.6960553-03:00"
  },
  "lgPolicySettings": {
    "airplaneMode": true,
    "bluetooth": true,
    "camera": true,
    "clipboard": true,
    "factoryReset": true,
    "homeKey": true,
    "microphone": true,
    "nfc": true,
    "powerOff": true,
    "safeMode": true,
    "screenCapture": true,
    "settingsChanges": true,
    "statusBarExpansion": true,
    "taskManager": true,
    "wifi": true
  },
  "locationHistoryMonitorSettings": {
    "monitoringQuality": 0,
    "enabled": true,
    "monitoringInterval": 1,
    "storageTime": 1,
    "synchronizationInterval": 1
  },
  "locationMonitorSettings": {
    "enabled": true,
    "monitoringInterval": 1,
    "storageTime": 1,
    "synchronizationInterval": 1
  },
  "lockPassword": "sample string 5",
  "memoryMonitorSettings": {
    "enabled": true,
    "monitoringInterval": 1,
    "storageTime": 1,
    "synchronizationInterval": 1
  },
  "passwordPolicySettings": {
    "maximumFailedPasswordAttemptsForWipe": 1,
    "passwordExpirationTimeout": 2,
    "passwordHistoryLength": 3,
    "passwordMinimumLength": 4,
    "passwordMinimumLetters": 5,
    "passwordMinimumLowercase": 6,
    "passwordMinimumNonLetter": 7,
    "passwordMinimumNumeric": 8,
    "passwordMinimumSymbols": 9,
    "passwordMinimumUppercase": 10,
    "passwordQuality": 0
  },
  "platform": 0,
  "remoteAssistances": [
    {
      "creationDate": "2020-05-15T17:03:27.6960553-03:00",
      "id": 2,
      "readUrl": "sample string 3",
      "operation": null
    },
    {
      "creationDate": "2020-05-15T17:03:27.6960553-03:00",
      "id": 2,
      "readUrl": "sample string 3",
      "operation": null
    }
  ],
  "samsungPolicySettings": {
    "airplaneMode": true,
    "audioRecord": true,
    "bluetooth": true,
    "camera": true,
    "clipboard": true,
    "clipboardShare": true,
    "factoryReset": true,
    "headphone": true,
    "homeKey": true,
    "microphone": true,
    "navigationBar": true,
    "nfc": true,
    "otaUpgrade": true,
    "powerOff": true,
    "safeMode": true,
    "screenCapture": true,
    "settingsChanges": true,
    "softwareInstallation": true,
    "softwareUninstallation": true,
    "statusBar": true,
    "statusBarExpansion": true,
    "sVoice": true,
    "taskManager": true,
    "videoRecord": true,
    "wifi": true
  },
  "vpnSettings": {
    "vpnNetworks": [
      {
        "dnsSearchDomains": null,
        "dnsServers": null,
        "forwardingRoutes": null,
        "ipsecIdentifier": null,
        "ipsecPreSharedKey": null,
        "l2TPSecret": null,
        "l2TPSecretEnabled": false,
        "name": null,
        "pptpEncryptionEnabled": false,
        "serverAddress": null,
        "userName": null,
        "userPassword": null,
        "vpnType": 0
      },
      {
        "dnsSearchDomains": null,
        "dnsServers": null,
        "forwardingRoutes": null,
        "ipsecIdentifier": null,
        "ipsecPreSharedKey": null,
        "l2TPSecret": null,
        "l2TPSecretEnabled": false,
        "name": null,
        "pptpEncryptionEnabled": false,
        "serverAddress": null,
        "userName": null,
        "userPassword": null,
        "vpnType": 0
      }
    ]
  }
}