Is it possible to know the HTTP response code and body for an inbound request via syslog_transaction

Nisar3
Giga Guru

When an inbound request comes into ServiceNow (custom API), I know we can track that transaction via the syslog_transaction table. It does detail a lot of data but I was wondering using that record, would it be possible to find out the response and http status code that was sent out from this?

 

Nisar3_0-1755666710225.png


Assume the custom scripted rest resource cannot be modified/updated to put those details somewhere

1 ACCEPTED SOLUTION

@Nisar3 

No other way other than checking that system table

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

7 REPLIES 7

@Nisar3 

No other way other than checking that system table

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@Ankur Bawiskar wrote:

No other way other than checking that system table

 But the system table syslog_transaction table does not contain the http response code

@Nisar3 

if it's not present there then it's not possible to determine.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader