We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Access Report via REST API

Panagiotis Kons
Tera Expert

Hello, 

 

I have a report on this URL: https://xxx.service-now.com/sys_report_template.do?jvar_report_id=9251ba33db667f40419db5ca6096191b

 

This report filters the data and returns the results. Is it possible to get the results by using REST API? I do not want to query the table itself with the Table API (I know how to do that), but I want the filtered data from the report itself.

 

Regards

 

Panos

1 ACCEPTED SOLUTION

Dr Atul G- LNG
Tera Patron

Hi @Panagiotis Kons 

I think answer is NO but have a look

 

https://www.servicenow.com/community/developer-forum/how-to-run-reports-query-using-rest-api/m-p/182...

https://www.servicenow.com/community/itsm-articles/reporting-api/ta-p/2301051

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG

****************************************************************************************************************

View solution in original post

7 REPLIES 7

Dr Atul G- LNG
Tera Patron

Hi @Panagiotis Kons 

I think answer is NO but have a look

 

https://www.servicenow.com/community/developer-forum/how-to-run-reports-query-using-rest-api/m-p/182...

https://www.servicenow.com/community/itsm-articles/reporting-api/ta-p/2301051

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG

****************************************************************************************************************

Hello Kilo,

 

thank you for your prompt reply. the reporting API looks promising. Let me have a look and I will get back to you.

 

Regards

 

Panos

 

 

Will wait  for feedback.

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG

****************************************************************************************************************

Unfortunately the API only provides information about the reports, not the reports' content itself.

 

I will wait for a bit in case someone knows a way to do it, otherwise I will go with "It can't be done" and I will accept your comment as answer.

 

Regards

 

Panos