The CreatorCon Call for Content is officially open! Get started here.

REST API - Asynchronous Inbound flow to return sys_id

CV1
Tera Contributor
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 :
 
Call to ServiceNow endpoint will return the sysId
{
   "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! 
 
 
 
11 REPLIES 11

Diljith Dineshq
Tera Contributor

@Yogesh Verma1 

Any solution for this ?

Diljith Dineshq
Tera Contributor

Hi @Yogesh Verma1 , Any solution ?