Hi John,
I tried to recreate what you described:
report_url = '{my-url}/bi/v1/disp/rds/reportData/report/{my-id}?v=3&async=OFF&fmt=DataSetJSON&version=LATEST'
No 404 error. I tried a few times and I could see the new run each time (> View versions) in Cognos Analytics.
I switched to:
report_url = '{my_url}/bi/v1/disp/rds/reportData/report/{my-id}?v=3&async=OFF&fmt=DataSetJSON&version=LATEST&saveOutput=True'
Under versions, it showed the saved report, indicated by icon change.
I switched back to:
report_url = '{my-url}/bi/v1/disp/rds/reportData/report/{my-id}?v=3&async=OFF&fmt=DataSetJSON&version=LATEST'
No 404 error, and no more reports appeared after the saved version - I took that to mean it was correctly pulling the latest saved version.
Sorry I can't be more help.
------------------------------
Gavin Beattie
------------------------------
Original Message:
Sent: Wed October 08, 2025 11:22 AM
From: John Bronzo
Subject: Cogonos Mashup Service - Version Parameter
Has anyone successfully using the version:LATEST parameter to extract a saved report output in DataSetJSON format?
If I used this endpoint, I get a 404 error
rds/reportData/report/{reportID{?v=3&async=OFF&fmt=DataSetJSON&version=LATEST
If I add the saveOuput = true parameter it works but I don't want to execute the query on the database and save the output
rds/reportData/report/{reportID{?v=3&async=OFF&fmt=DataSetJSON&version=LATEST&saveOutput=True
If I use version=VERSION_NAME and put the specific VERSION_ID it will work but then finding the version name programmatically becomes a challenge
rds/reportData/report/{reportID{?v=3&async=OFF&fmt=DataSetJSON&version=VERSION_NAME&versionID=2025-10-08T14:56:10.079Z
------------------------------
John Bronzo
------------------------------