Hi Richard,
Thanks for the reply.
Have tried using the pattern you have mentioned,
https://cognosdevserver.xxx.com/bi/api/v1/session{"parameters":[{"name":"CAMNamespace","value":"NAMESPACEID"},{"name":"CAMUsername","value":"USERNAME"},{"name":"CAMPassword","value":"PASSWORD"}]}
Response: Forbidden.
Can you please let me know if there is any other configuration to be made?
Please note, we are using Custom Authentication.
Thanks!
------------------------------
Dhanush
------------------------------
Original Message:
Sent: Wed September 02, 2020 09:34 AM
From: Richard Kung
Subject: IBM Cognos Analytics 11.1 R7 - REST API - Login
Hi Dhanush,
Please try using https://<WEBSERVER>/api/v1/session as per this topic:
https://www.ibm.com/support/knowledgecenter/SSEP7J_11.1.0/com.ibm.swg.ba.cognos.ca_api.doc/c_ca_api_rest.html
------------------------------
Richard Kung
Original Message:
Sent: Tue September 01, 2020 03:24 PM
From: Dhanush
Subject: IBM Cognos Analytics 11.1 R7 - REST API - Login
Hi All,
We are trying to login through the published REST API for Cognos 11.1.7
https://<WEBSERVER>/bi/api/session, along with Namespace, User Name, and password as parameters
Also, tried with the below pattern
https://<WEBSERVER>/bi/api/v1/session
Result - Forbidden response.
Can you please help?
Has anyone able to login using REST API.
Thanks!
------------------------------
Dhanush
------------------------------
#CognosAnalyticswithWatson