如何使用設備的自定義屬性來獲取產品的版本號 (How can I use Custom Attributes for devices in order to get Version number of Products)


問題描述

如何使用設備的自定義屬性來獲取產品的版本號 (How can I use Custom Attributes for devices in order to get Version number of Products)

我的要求是從控制台獲取 Android 應用程序的所有產品以及版本名稱。如果我從 Postman 查詢 deviceExtensive 搜索,一次性獲取所有設備中所有 Products(apps) 的信息,如 ProductId, Name, Status 但沒有得到產品的Version

productExtensive

同樣的問題

代碼>搜索,獲取除版本號外的所有產品信息。我有將近 20 種產品。

文檔


參考解法

方法 1:

You only can get version number of applications device level instead of getting server level.

Use loop and pass deviceId in every iteration.

There is no api available in AW rest service document. Below service you can use to do so

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

Custom attributes can only be used for device level not groups level then again this not going to solve your problem.

(by R15R15)

參考文件

  1. How can I use Custom Attributes for devices in order to get Version number of Products (CC BY‑SA 2.5/3.0/4.0)

#airwatch #mdm #Android #Flutter #vmware






相關問題

ipa 文件包含非法字符? (ipa file contains illegal characters?)

通過 AirWatch 卸載 Android APK (Uninstall Android APK via AirWatch)

如何使用設備的自定義屬性來獲取產品的版本號 (How can I use Custom Attributes for devices in order to get Version number of Products)

如果用戶設備未註冊 Airwatch Agent,如何限制 iOS 應用程序? (How to restrict iOS App if user device is not enroll with Airwatch Agent?)

AirWatch MDM 與 Xamarin ipa (AirWatch MDM with Xamarin ipa)







留言討論