REST message integration between two SNow instances

asham2
Kilo Contributor

Hi,

I want to integrate two SNow instances to   create an incident from source instance to target instance using REST API messages,

I have created a REST message with target instance URI and specified basic authentication for this URI, now using POST method I

created a BR   for creating incident from source to target,but if I create incident in source instance it not getting creating in target

instance.

While creating REST message i specified HTTP header Name as "Content-Type" and Value as "application/json".

What should I have to specify in HTTP query parameter?

And how to use variable substitution?

Anyone please give solution for this.

4 REPLIES 4

nitish99
Tera Guru

Hi Asha,



Endpoint-: https://<instancename>.service-now.com/api/now/table/incident


Authentication Type-:Basic



Mutual
Authentication-: true


Mutual authentication profile-: Protocol - HTTPS, Port - 443



1) You only need to specify HTTP query parameters if you are retrieving records from the target instance.


      As for HTTP Headers, use these- :
      a) Name= Accept, Value = application/json,


      b) Name= Content-Type, Value = application/json



2) For variable substitution, you can specify the variable name and its value that you want to send to the target instance.


Chuck Tomasi
Tera Patron

Hi Asha,



If you are going to be moving data on a regular basis between two instances, I recommend taking a look at Perspectium



They specialize in this kind of thing. It might be faster and cheaper to buy than build.


JC Moller
Giga Sage

Hi,



Also have a look at the SIAM Light Application available on Servicenow Share.


https://community.servicenow.com/docs/DOC-5399



I haven't tested it, but I like the data driven concept of the application. One user has commented "It is really a fantastic application. I am really happy with this.", so definately worth looking into.



- Jan


asham2
Kilo Contributor

Thank you so much...