- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2017 02:05 PM
Hello,
Could someone please help where I could find logs for inbound rest calls with the payloads on them?
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2017 02:22 PM
if you dont find it then add with default value false, change to true during debugging.
Adding a Property - ServiceNow Wiki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2017 03:14 PM
also helpful KB
ServiceNow KB: Inbound Web Service Troubleshooting (KB0546297)
we have separate properties to SOAP and REST
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2018 10:22 AM
We had a similar question on our project, and yes, you have to create this new property (I set its type to 'true/false'), and set it to true if you want to capture the incoming calls via the REST API interface.
But, where is the data logged? There are lots of logs in SN, after all.
I found the data in the Node Log File Browser.
From there, you can filter on Thread Name = "API_INT-thread-1", and Message = "Incoming Request Body", and you'll find your incoming REST API Payload body(s).
Here is an example log that I had, just to create a basic Incident rec
txid=988dcbf2db13 DEBUG: #225 [REST API] RequestDeserializer : Incoming Request Body:{"short_description":"test from REST API 03"}