I've read through https://jamfnation.jamfsoftware.com/discussion.html?id=5968 and I've looked at the apiFrontPage.rest page. I can see how I can get things like a list of departments, but how can I get the department a machine is part of?
I'm working on a shell script that will hopefully be using different registration codes to register the app based on the department the machine is part of.
