CMDB Integration using REST API

JoeyBananaz
Kilo Explorer

I've been looking around for more information on helping map CMDB Integration in ServiceNow using a REST API. Is this available? I've been looking all over and it seems as though this is impossible. Are there any directions you could point me towards?

3 REPLIES 3

john_andersen
Tera Guru

If you enable the "JSON Web Services Plugin" in your instance, you can perform all of the standard web service queries into ServiceNow that you can do with SOAP.

Check out the JSON Web Services Plugin Documentation:
http://wiki.servicenow.com/index.php?title=JSON_Web_Service

You inspired me to make a tool that allows you to play with the RESTfulness of ServiceNow. It allows you to specify the instance url, endpoint (either to a table in ServiceNow or to a web service import set). I also provides buttons that you can use to prefill fields for the various web service functions for you. Please make sure, however, that whatever instance you are going against, that it has the JSON Web Service plugin enabled.

Try it out here:
http://www.john-james-andersen.com/hidden/sn-rest-post-tool


Hey John,

Thanks for the creation of that tool. That actually makes my job a lot easier. However I was fully aware of the JSON Web Services Plugin, perhaps I wasn't clear about what exactly I am trying to do right now.

I believe that ServiceNow offers a service to manually edit the flow map of the infrastructure product using ServiceNow. With ServiceNow Discovery I believe it's something that can be detected automatically, however is there a way to edit the flow map through the API? I'm currently trying to integrate our product with the inner workings of ServiceNow.

Thanks,

Ramie


JoeyBananaz
Kilo Explorer

Hey John,

Thanks for the creation of that tool. That actually makes my job a lot easier. However I was fully aware of the JSON Web Services Plugin, perhaps I wasn't clear about what exactly I am trying to do right now.

I believe that ServiceNow offers a service to manually edit the flow map of the infrastructure product using ServiceNow. With ServiceNow Discovery I believe it's something that can be detected automatically, however is there a way to edit the flow map through the API? I'm currently trying to integrate our product with the inner workings of ServiceNow.

Thanks,

Ramie