How to call company's internal REST API from Service Now?

jduan
Kilo Contributor

I am creating a new service in Service Catalog, the service workflow needs to retrieve data by calling company's internal REST API. How do I achieve that?

1 ACCEPTED SOLUTION

vant
Tera Expert

Hi Jason,


Since ServiceNow is in the cloud, one of the following would need to be true, I believe:


1. The REST API service is exposed outside your company firewall, or the firewall allows outside connections in...


2. You have a midserver inside your network that ServiceNow can use to communicate with your network.


View solution in original post

4 REPLIES 4

vant
Tera Expert

Hi Jason,


Since ServiceNow is in the cloud, one of the following would need to be true, I believe:


1. The REST API service is exposed outside your company firewall, or the firewall allows outside connections in...


2. You have a midserver inside your network that ServiceNow can use to communicate with your network.


kaireidegeld
Tera Expert

Hello Jason,


after the connectivity issues are settled, like Van Tran mentioned,


you have to create an outbound REST message with the appropriate contents to call your companies REST service.


REST messages are created in the ServiceNow module with the same name.


More information can be found in the Wiki: Outbound REST Web Service - ServiceNow Wiki


Robert Beeman
Kilo Sage

We have several of these internal web service integrations. We are using Orchestration (Runbook) on a local MIDserver to make those calls for us and return the information to SN.


jduan
Kilo Contributor

Thank you all for the reply.