Can I see incoming JSON from REST calls?

peterraeves
Mega Guru

Since Jakarta, you can clearly see the number of calls that came in through which web service (eg: now/table, now/import, etc). Is it possible to actually see the content?

We had calls come in with strange results and we saw that on one day 557 calls came in, while there were only about 100 in the import table. Where did the other 400 go to? Is the content logged somewhere, so we can investigate?

1 ACCEPTED SOLUTION

Yes I know it is shown in the table when the json was correct. I want to know if we can see incoming requests which were badly formatted or incorrect. I guess this is not possible after all


View solution in original post

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Peter,



I think the system cleans import set table automatically so may be those records got deleted as a part of standard process.


http://wiki.servicenow.com/index.php?title=Import_Set_Scheduled_Cleanup#gsc.tab=0



Regards


Ankur


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

I think you did not understand the question. I'm talking about the JSON that entered the system. The JSON that is used to create the records in the import set table.


Hi Peter,



I think if you use Import Set API for rest then it creates a intermediate table which should store the data which is coming in the instance but never tested on this.



Regards


Ankur


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

Yes I know it is shown in the table when the json was correct. I want to know if we can see incoming requests which were badly formatted or incorrect. I guess this is not possible after all