Posted on 06-19-2017 09:04 AM
Posted on 06-19-2017 03:14 PM
I am also interested in this as we are in the process of Implementing the Asset module of ServiceNow.
Posted on 07-27-2017 10:36 AM
To identify the computer in Jamf based on the Serial Number utilize the Jamf Pro API /computers/serialnumber/{serial number}, then update the computer utilizing the ID captured from the serial number API call and the API endpoint /computers/id/{id} to update the existing computer.
Posted on 07-28-2017 10:17 AM
Thanks for the feedback @matt.armstrong . That's a good place to start. My other issue is that I'm attempting to find out where in ServiceNow the Serial Numbers and Asset Tags information is via API.
Posted on 08-01-2017 04:00 PM
ServiceNow API's can be accessed https://yourinstance.service-now.com/api/now/table/{tableName} - ServiceNow has a REST API Explorer that's very helpful for exploring the ServiceNow API. Typically computers are captured in the cmdb_ci_computer table.
@daniel.behan - My previous comment is more applicable if you were looking to do the scripting from the ServiceNow platform. Good luck to you & @dmw3 - interested in hearing about any ServiceNow integration use cases.
Posted on 05-18-2020 05:24 AM
Hi All,
Was anyone of you able to achieve this? I want to search for a CI in JAMF that has been decommissioned in Servicenow and update its state in JAMF. Can anyone share some code/ API they used for this?
Regards
MV