Posted on 05-21-2021 03:16 PM
Hi,
I am trying to figure out a way to find a mobile device by its IMEI with the API but I am running into issues getting Jamf to return the correct information. I'm working with this constraint because the department that handles the hardware in my org has scanned mobile devices into the property management system by IMEI, and that value is the only primary key I can currently use to relate the devices between various IT systems.
For example, our property database has mobile devices listed with IMEI and asset tag. I would like to assign asset tags to devices in Jamf, but the only common field between the property database and Jamf is the IMEI. It is straightforward to pull a specific device by serial number or JSS ID, but the IMEI seems to be handled differently.
Any assistance will be extremely appreciated!
Solved! Go to Solution.
Posted on 05-21-2021 03:22 PM
I tested and if you use https://<YOURJAMFURL>/JSSResource/mobiledevices/match/<IMEI NUMBER> you can find the object that matches the IMEI. Only thing of note is that I had to include the spaces which in my case meant using %20 in the URL.
Posted on 05-21-2021 03:22 PM
I tested and if you use https://<YOURJAMFURL>/JSSResource/mobiledevices/match/<IMEI NUMBER> you can find the object that matches the IMEI. Only thing of note is that I had to include the spaces which in my case meant using %20 in the URL.
Posted on 05-21-2021 03:29 PM
That did it. Thanks so much!