Cognos Analytics

Cognos Analytics

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

 View Only
Expand all | Collapse all

automatic login in IBM Cognos Analytics 11.1 R7 - REST api/v1/session

  • 1.  automatic login in IBM Cognos Analytics 11.1 R7 - REST api/v1/session

    Posted Mon August 10, 2020 06:48 PM
    Hi, We intend to perform an automatic login in IBM Cognos Analytics 11.1 R7, according to the forum it is possible to perform this login through its Rest API.
    Our doubt is how to authenticate in APIS Rest to consume the services, because all the requests we have return an http status 401 (Unauthorized)
    
    Forum
    https://www.ibm.com/support/knowledgecenter/SSEP7J_11.1.0/com.ibm.swg.ba.cognos.ca_api.doc/c_ca_api_rest.html
    
    API
    https://cognosserver.ca.analytics.ibm.com/api/v1/session
    
    {
    "parameters": [
    {
    "name": "CAMNamespace",
    "value": "bid"
    },
    {
    "name": "CAMUsername",
    "value": "teste@genesis.com"
    },
    {
    "name": "CAMPassword",
    "value": "Password"
    }
    ]
    }

    Please Can anyone help?


    ------------------------------
    João Galdino
    CEO
    Genesis
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: automatic login in IBM Cognos Analytics 11.1 R7 - REST api/v1/session

    Posted Thu September 03, 2020 11:45 AM
    Hi,

    Any luck on this issue? We are facing the same issue in our environment.
    Thanks!

    ------------------------------
    Dhanush
    ------------------------------