As others have mentioned you can use Mashup. Actually, it can be pretty straightforward.
Assume, you have a simple List report with a searchPath: "content/folder[@name='DEV']/folder[@name='Test']/report[@name='rep-json']"
Then you can use an RDS URL to get its output in JSON:
http(s)://<cognos_server>/ibmcognos/bi/v1/disp/rds/pagedReportData/searchPath/content/folder[@name='DEV']/folder[@name='Test']/report[@name='rep-json']?fmt=JSON&selection=List1&v=3
Modify the URL to match your Environment.
You can find relevant Mashup examples and docs at:
https://community.ibm.com/community/user/blogs/steven-macko/2017/01/16/how-to-use-ibm-1022-cognos-mashup-service-cms-samples-in-ibm-cognos-analytics-11
https://www.ibm.com/docs/en/cognos-analytics/12.1.0?topic=developer-cognos-mashup-service-samples
I've attached my report spec and JSON output.
------------------------------
Andrei Istomine
Open to work - anything Cognos
https://www.linkedin.com/in/andreii/------------------------------
Original Message:
Sent: Tue April 22, 2025 08:55 AM
From: Sergio Soares
Subject: Request for Help: Running a Job to Produce Report Outputs in JSON Format
I'm reaching out for assistance with IBM Cognos Analytics 12.0.4. I'm trying to run a job to produce report outputs, but the available formats are limited to HTML, Excel Data, PDF, CSV, Excel, and XML. I'm wondering if there's a way to produce reports in JSON format.
Has anyone successfully configured Cognos to output reports in JSON format? If so, could you please share your experience or point me in the direction of relevant documentation?
I'd greatly appreciate any guidance or advice on how to achieve this.
------------------------------
Sergio Soares
SSS
Campinas
------------------------------