Can ServiceNow make Rest API call with third party Application after receiving a Rest API call request from another third party application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2022 03:03 AM
Hi Team,
We have requirement where ServiceNow acts like Middleware between third party applications. Can ServiceNow make Rest API call to third party application after receiving another Rest API call from Another Third party application. Can ServiceNow handle two Rest API's with two different third party application.
A -> Service Now -> B
A <- ServiceNow <- B
Please help me to understand this scenario
Thanks and Regards,
Vineela
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2022 03:20 AM
Create Rest Message for outbound integrations for both A and B.
For both the Rest Messages you will get scripts to call those APIs from "Preview Script Usage" related link
Create scripted Rest APIs for inbound integrations for both A and B
When A wants to connect to servicenow they should hit scripted rest API for A. In that write the script to call REST API for B.
Repeat this for B to A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2022 03:21 AM
Hi Vineela,
Yes it can in the sense you create or update the record you require and then have a business rule that would execute a REST call to the application B.
Similarly then of updated from business rule that then calls application A to update.
Hope that makes sense.
Please mark my answer correct and helpful if this resolves your issue.