Welcome to Headwind MDM Q&A, where you can ask questions and receive answers from other members of the community.

Please do not post bug reports, missing feature requests, or demo inquiries. If you have such an inquiry, submit a contact form.

0 votes

The response object for "/plugins/deviceinfo/deviceinfo/private/{deviceNumber}" api call is supposed to show up with much more information about the applications installed on to the device but when I make the call on postman all it gives me is four attribute.

What I'm supposed to get:

"applications": [

    {

      "id": 0,

      "name": "string",

      "pkg": "string",

      "version": "string",

      "versionCode": 0,

      "arch": "string",

      "url": "string",

      "split": true,

      "urlArmeabi": "string",

      "urlArm64": "string",

      "showIcon": true,

      "useKiosk": true,

      "system": true,

      "configurations": [

What it gives me:

"applications": [  

{ "applicationName": "Android Telecom UI",

"applicationPkg": "com.android.server.telecom",

"versionInstalled": "11",

"versionRequired": "0",

"versionValid": true

},

by (120 points)

1 Answer

0 votes

The deviceInfo method returns the information about the device. This information includes the shortened information about installed applications. This information lets the admin know whether the application is installed correctly or not.

This method is not supposed to retrieve all information about the applications including mentioned by you. To retrieve that information, use the method /rest/private/applications/search/{packageId} (to view details on how it works, open the Network tab of the Chrome developer console, then open the Applications tab in Headwind MDM, see details here).

by (36.8k points)
Is there an API that would let us know the status of the device, like is it online or offline?
The API method you mentioned returns latestUpdateTime as one of the attributes, which gives you the time when a device was online. Note that you can get the API call details by using the browser developer console, see details here: https://qa.h-mdm.com/16735/how-to-view-sample-rest-api-requests
...