![jamf pro prestage enrollment jamf pro prestage enrollment](https://travellingtechguy.eu/wp-content/uploads/2020/02/Screenshot-2020-02-01-at-23.15.17.png)
There are various tools installed as part of macOS which allow XML parsing and manipulation when using Bash shell scripting.Both XML input and output and JSON output are supported:.The Classic API has been around the longest, so more Jamf Pro admins are familiar with it.The reasons that the Classic API is most used at this time are the following:
![jamf pro prestage enrollment jamf pro prestage enrollment](https://docs.jamf.com/best-practice-workflows/jamf-pro/enrolling-devices-automated-mdm/assets/images/BPW.png)
#Jamf pro prestage enrollment how to#
Of the two, the Classic API is the one currently most used by Jamf Pro admins and the one I’ll be focusing on how to use it, using XML for input and output.
#Jamf pro prestage enrollment password#
The Jamf Pro API is designed to work with token-based authentication, with a Jamf Pro username and password used to initially generate the necessary token. If your Jamf Pro server is, that means that the API base URL is as follows: The base URL for the Jamf Pro API is located at /uapi on your Jamf Pro server. This API is in beta and is designed to be an eventual replacement for the Classic API. The Classic API is designed to work with usernames and passwords for authentication, with the username and password being passed as part of the curl command. To help you become familiar with the API, Jamf includes documentation and “Try it out” functionality at the following URL on your Jamf Pro server: The base URL for the Classic API is located at /JSSResource on your Jamf Pro server. This API is designed to work with XML and JSON. This API is the original one which Jamf Pro started with and it is slated for eventual retirement. Jamf Pro API (formerly known as the Universal API).That means that the curl tool can be used to send commands to and receive information from a Jamf Pro server. Both APIs are REST APIs, which means they can perform requests and receive responses via HTTP protocols like GET, PUT, POST and DELETE. When working with Jamf Pro, one way to save yourself a lot of clicking in the admin console is to use one of the two current Jamf Pro APIs.