"Print" option of GET Expense Report API not working

"Print" option of GET Expense Report API not working

Hello!

I have been trying to use the "print" option of the GET Expense Report API but it seems the option does not alter the output. Is there an issue with the API or am I using it wrong?

Here's my request code, in Deluge:
  1. response = invokeurl
  2. [
  3. url :"https://www.zohoapis.com/expense/v1/expensereports/" + expense_report.get("report_id") + "?print=true&template_id=2413489000000450003"
  4. type :GET
  5. headers:headers_data
  6. connection:"zexpense3"
  7. ];

I've also tried to put the parameters in a map instead of the URL but the output is the same.

Thanks in advance!