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

In which table REST API Calls are stored in ServiceNow

sanjay2333
Kilo Explorer

When creating a REST API Calls - where are they stored in ServiceNow

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Sanjay,



If you have exposed some REST endpoint and given to third party application and you want to know what request they have sent then there is no way to handle this.


If it is REST using import set then it will be stored in the import set table.



Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.


Thanks


Ankur


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

View solution in original post

4 REPLIES 4

Mujtaba Amin Bh
Mega Guru

sys_rest_message


Ankur Bawiskar
Tera Patron
Tera Patron

Hi Sanjay,



If you have exposed some REST endpoint and given to third party application and you want to know what request they have sent then there is no way to handle this.


If it is REST using import set then it will be stored in the import set table.



Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.


Thanks


Ankur


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

If it is not REST using import set t

If its using scripted rest whe have log the request wright?

Rohant Joshi
Tera Contributor

Hi,

I do not see straight table for this but I know ServiceNow Support team does recommend to enable a system property "glide.rest.debug" which starts logging the request and response payload.
https://www.servicenow.com/community/developer-forum/rest-api-logging/m-p/1680760


I was also exploring table name starts with sys_api_ and see there are bunch of table with that name, may be you can look for those.

RohantJoshi_0-1715928139950.png