Transitioning from Classic API to Jamf Pro API for Computer Inventory Data
Hello Jamf Nation! Today we’ll be diving into the recent deprecation of the computers inventory endpoints in the Classic API. This guide will help you transition your existing code to use the new Jamf Pro API computer inventory endpoints, which offer enhanced capabilities including sorting, filtering, and pagination. Key Differences Endpoint Structure Classic API: /JSSResource/computers Jamf Pro API: /api/v1/computers-inventory Data Format Classic API: XML-based requests and responses (default) JSON responses available but XML required for PUT/POST Jamf Pro API: JSON-based for all operations More structured and consistent data types Clearer property naming conventions New Features in Jamf Pro API 1. Section-Based Data Retrieval The Jamf Pro API allows you to request specific sections of computer data. If no section parameter is supplied, only the “General” section will be returned, with other sections including a null value. If the data you’re looking for is missing, make sure to speci