I want to fetch versionName of all app/product deployed to AirWatch, using Airwatch api's but I am not sure if any API available for that or not.
I searched in document but I am not able to find any api name. Can anyone tell me service name to get versions of android application.
Edit1: Below calls not returning any data. am I missing something
https://host/api/mdm/devices/apps?searchby=idTest&id=1520&pageTest=1
https:host/api/mdm/devices/1520/apps?page={page}&pagesize=1
This way calling other services and working
"https://host/api/mdm/devices?searchby=Serialnumber&id=jjjQA7AL"
Edit2: When I am using URI
https://host/api/mdm/devices/apps?searchby=Serialnumber&id=R10QA7AL&page=1&pagesize=1
Getting kind of sample data(not related to my products)
{"DeviceApps":[{"ApplicationName":"Amazon Kindle","Version":"8.21.1.0","BuildVersion":"","Status":2,"Size":"122252286","ApplicationIdentifier":"com.amazon.kindle","Type":"System","IsManaged":false}],"Page":1,"PageSize":1,"Total":61}
Functionality: Retrieves the detail s of the applications that are present on the device.
APIURI–https://host/api/mdm/devices/{id}/apps?page={page}&pagesize={pagesize}
With the above API, you can get various information about the Apps that are installed on the device. You can refer to Chapter 6 of the Document specifically page 361-363
Edit-1
example: https://host/api/mdm/devices/apps?searchby=Serialnumber&id=R10QA7AL&page=1&pagesize=50
Edit-2
You can use any of the following option in searchby parameter
Macaddress,Udid,Serialnumber,ImeiNumber
examples:
https://host/api/mdm/devices/apps?searchby=Serialnumber&id=R10QA7AL&page=1&pagesize=50
https://host/api/mdm/devices/apps?searchby=ImeiNumber&id=YourID&page=1&pagesize=50
https://host/api/mdm/devices/apps?searchby=Udid&id=YourID&page=1&pagesize=50
https://host/api/mdm/devices/apps?searchby=Macaddress&id=YourID&page=1&pagesize=50
Edit:3 If you want to get all pages or all apps, remove page and pagesize params. like this
https://host/api/mdm/devices/apps?searchby=Serialnumber&id=R10QA7AL