REST API - Asynchronous Inbound flow to return sys_id
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2022 10:02 AM
Hi Everyone,
We are using REST API - Asynchronous trigger (post) and created an Inbound flow.
The requirement is after the payload from a 3rd party application is inserted to SN table, we need to do the following :
We are using REST API - Asynchronous trigger (post) and created an Inbound flow.
The requirement is after the payload from a 3rd party application is inserted to SN table, we need to do the following :
Call to ServiceNow endpoint will return the sysId
{
"sysId": "SN SysId"
}Error response
{
"error": "description of error"
}PUT:
{
"sysId": "SN SysId"
}Error response
{
"error": "description of error"
}PUT:
Please Note: Currently its only returning the execution id. How can this be changed to return a specific HTTP response code (200/201/400/500 etc.,)
Thanks in advance!
Labels:
11 REPLIES 11
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2024 06:24 AM
Any solution for this ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2024 06:59 AM
Hi @Yogesh Verma1 , Any solution ?