Skip to main content

I have a tableau report saved in tableau server, I need to download a PDF view of the report using API call. 

 

Sample Link used in Postman, using this link I am getting the report in PDF.

 

https://myserver/api/3.11/sites/siteid/views/viewid/pdf?type=A4&orientation=Landscape&parameterid=parametervalue

 

But the issue is I am not getting latest data in PDF even if the data is tableau reports changes.

 

tried adding :refresh, :refresh=true, :r, :r=true etc

 

sample 

 

https://myserver/api/3.11/sites/siteid/views/viewid/pdf?type=A4&orientation=Landscape&parameterid=parametervalue&:refresh

but seeing the data from the first call.

 

Please let me know if there is any solution for this

1 answer
  1. Dec 12, 2021, 12:15 PM

    Hi @Jithin Raj​ ,

     

    Have you tried this parameter?

    :refresh=y

    The parameters can be different on certain occasions (like embedding and API's) - this should (...) work!

     

    Kind regards,

    Johan de Groot

0/9000