I have been able to download the workbook in twb format using java api, here is the code:
Response response = webTarget
But I could not download it as twbx. What should I change other than the accepted MediaType?
You are correct. Changing the header type should get you a twbx file instead. See our docs here:
Become a Viz Whiz on the Forums!
Support the Community and master Tableau.
Retrieving data ...