Problem Description:
We are associating 1000 devices to 25 apps using Associate Assets API - https://vpp.itunes.apple.com/mdm/v2/assets/associate
We find the association completion state by two ways.
Method 1: Using Event Status API - https://vpp.itunes.apple.com/mdm/v2/status
-
We test the success state of event by continuously polling event status API - until it provides COMPLETE/FAILURE in eventStatus.
-
For the above association, the time taken for event Status to give COMPLETE/FAILURE status for the above API is 30 seconds.
-
Improvement Needed: A new type of notification type can be introduced so that on association event completion, the notification request could return the event status response to MDM server without the need to poll the Event Status API from MDM.
Method 2: By Subscribing ASSET_MANAGEMENT notification
- On subscribing ASSET_MANAGEMENT notification in clientConfig API - https://vpp.itunes.apple.com/mdm/v2/client/config, the asset management notification request is enabled.
"notificationTypes": [
"ASSET_MANAGEMENT"
]
- On performing the association, each notification request reaches the MDM server with response in batch of 100 devices per 1 app.
- Hence, more than 250 notifications requests(including duplicate requests) reaches the MDM server. This takes around 5 mins to complete provide the association results
- Improvement Needed: The 100 devices status per 1 app for one notification request could be increased to make lesser notification requests and hence improving the time to receive the association response.
Hence, currently the Method 1 - using Event Status API provides the association completion response sooner than the Method 2 (Notifications). So, providing a notification type to subscribe for event Status could reduce the long time to provide all association response in ASSET_MANAGEMENT notification and eliminate the need to poll event status from MDM. Kindly consider this request.