Creating a GUI with API

Stephen_marquar
New Contributor II

Our instance has two sites. We often have our build team assigning systems to the incorrect site or not to a site at all. What I would like to do is allow our support staff the ability to pop up a GUI that will ask them for the serial number of the system and have the sites in a drop-down. This way when they identify a system that is incorrect it doesn't get escalated to us and there would no need to expand the number of support staff that have access to Jamf Pro. I would obviously use a token for API access, but I'm wondering if there's a way to accomplish this. I see plenty of community discussions around bulk moves to sites. I would like to be able to do this with a GUI with one-off systems. 

2 REPLIES 2

sydowl
New Contributor II

Hi Stephen - you may have to write your own Swift app to do this. Start this video at minute 24 for inspiration: https://www.jamf.com/resources/videos/swift-jss-api-and-you/

MatG
Contributor III

You could try an Applescript and call bash scripts therefore jamf API from within, although Applescript UI is limited.