Cognos Analytics

Cognos Analytics

Connect, learn, and share with thousands of IBM Cognos Analytics users! 

 View Only
  • 1.  Accessing Cognos reports from REST API

    Posted Fri August 02, 2019 10:10 AM

    I'm working with a Cognos 10 installation trying to embed reports into a custom web application on another server on the same network.  I'm scraping the nets trying to find information on how to use a REST API to do this, but I can't find anything definitive about it.  What I need to get is a list of report names for an administrative function of the other web application, and then the report content as html that I can embed into the same web application.  

    Is this doable via REST, or do I need to use a web service or some java api (the application server I'm calling this from is implemented in Java).  I'm hoping that REST can be used.  If I can, I need to authenticate by obtaining a token that would then go into my future GET requests, but where is the documentation that tells me just how to do that?  I have never even played around with Cognos so I don't know anything about it, but it seems that there might be some add on application that I would need to install alongside Cognos?  

    Help will be appreciated..!!!



    ------------------------------
    Ishleen Kaur
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Accessing Cognos reports from REST API

    Posted Tue August 06, 2019 09:47 AM
    @Ishleen Kaur By what you are describing, you would need to use the Cognos SDK Mashup service ​. Details on the Cognos Mashup service can be found here

    Also, I would suggest viewing the following blog as a starting point : https://www.ibm.com/developerworks/community/blogs/0a7c97bb-6cf9-4ddb-a918-80994e7b444d/entry/how_to_get_a_list_of_folders_and_reports_in_cognos_using_the_mashup_service9?lang=en

    If you have any further questions or need assistance you can reach out to our IBM professional SDK services team at diagtool@ca.ibm.com






    ------------------------------
    DENNY NAREZNY
    ------------------------------