Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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
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

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

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

View solution in original post

7 REPLIES 7

Dr Atul G- LNG
Tera Patron
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

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

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

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.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

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

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