Picas Greenhouse Software Posted February 4, 2016 Posted February 4, 2016 We have a Use Case in which a customer would like to be able to run an on-demand report from a clint and have the report generated as a PDF, attached to an email and then send to the recipient. Ideally, we would like to issue one-to-n REST calls to the Jasperserver REST web service to satisfy this use case on the server. We understand that there is a REST call to run a report, however, does the API support attaching the report to an email and subsequently sending this email? Thank you.
hozawa Posted February 4, 2016 Posted February 4, 2016 Report REST API call will generate a report. Your program have to create an email and attach the generated report and send it.ORUse the schedule REST API to schedule your report and send it.http://community.jaspersoft.com/documentation/tibco-jasperreports-server-web-services-guide/v62/scheduling-report
abusch100 Posted January 6, 2023 Posted January 6, 2023 @hozawa So how would you create such email? I am using NodeMailer but the File cant be attached because its just an URI. I would like to know how can you create the PDF from a template and then send it back or upload it to the server?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now