Return the "Marketing/Human Readable" name for a Mac via the API
At the moment SimpleMDM can return a model name and a product name via the API.
However, the product names aren't unique - Apple occasionally reuse them... would it be possible for SimpleMDM to return the "Human Readable" name as well i.e. "MacBook Pro (13-inch, 2016, Four Thunderbolt 3 Ports)" rather than just MacBookPro13,2
We'd like to use SimpleMDM to populate our asset management system via the API - and would prefer to use the Human Readable name
There are examples of how to do this here: http://scriptingosx.com/2017/11/get-the-marketing-name-for-a-mac/ and here https://github.com/MagerValp/MacModelShelf
See the “model” key in the API response for the detailed model string.
-
AdminSimpleMDM (Admin, SimpleMDM) commented
SimpleMDM currently lists a version of the human readable name within the administration UI under Devices > Devices. Is this version suitable for the API call you are requesting?
Apple will provide varying human readable versions for a particular device depending upon which of their data sources is polled.