Hi Gurus,
Yes, this is way too complicated for me.
I'm using Postman to learn how to use the Rest API. I'm currently reading a local instance of TM1, but now want to connect to an instance on Cloud instead. Seems that the request is a bit different between the two, the local instance require a httpport, the Cloud instance the name of the server. Correct?
Local:
https://localhost:12354/api/v1/$metadata
https://localhost:12354/api/v1/Cubes
Cloud:
https:/xxa01.planning-analytics.ibmcloud.com/tm1/api/Planning Sample/api/v1/$metadata
https:/xxa01.planning-analytics.ibmcloud.com/tm1/api/Planning Sample/api/v1/Cubes
The metadata request works for both instances, but I can't retrieve the cubes from the Cloud instance, I get an error: 401 Unathorized. I have tried different authentication types, but can't get it to work, can't find the correct way to pass e.g. namespace in Postman. Should I be able to connect to an instance on Cloud?
REST API: Cloud
-
- Community Contributor
- Posts: 288
- Joined: Fri Feb 15, 2013 5:49 pm
- OLAP Product: TM1
- Version: PA 2.0.9.1
- Excel Version: 365
- Location: Minneapolis, USA
Re: REST API: Cloud
How are you authenticating? I was messing with this a couple weeks ago and learned that you can only use the non-interactive user account.
-
- Posts: 32
- Joined: Fri Jan 15, 2016 2:53 pm
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2013
Re: REST API: Cloud
Thanks, will take a look at it.
-
- Posts: 32
- Joined: Fri Jan 15, 2016 2:53 pm
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2013
Re: REST API: Cloud
I got it to work using a non-interactive account. Next step is to make it work with a 'real' account. Seen somewhere that it should work.
-
- Community Contributor
- Posts: 206
- Joined: Fri Oct 17, 2008 2:40 am
- OLAP Product: TM1, PA , TMVGate
- Version: 2.x
- Excel Version: 36x
- Location: Singapore
- Contact:
Re: REST API: Cloud
Based on what I understand from IBM, it will only work with non-interactive account for PA Cloud, which we have validated.
CAM Namespace ID is "LDAP" based on PA Cloud welcome kit.
Never manage to find out the Namespace ID for interactive account from IBM to test it out.
Will be interested if this is possible.
CAM Namespace ID is "LDAP" based on PA Cloud welcome kit.
Never manage to find out the Namespace ID for interactive account from IBM to test it out.
Will be interested if this is possible.
-
- Community Contributor
- Posts: 288
- Joined: Fri Feb 15, 2013 5:49 pm
- OLAP Product: TM1
- Version: PA 2.0.9.1
- Excel Version: 365
- Location: Minneapolis, USA
Re: REST API: Cloud
Adding a few links for others who stumble on this thread
PA Cloud Rest API
https://www.ibm.com/support/knowledgece ... stapi.html
Setting Up Non-Interactive User
https://www.ibm.com/support/knowledgece ... count.html
IBM Federated Authentication
https://www.ibm.com/support/knowledgece ... ation.html
https://www.ibm.com/links?url=https%3A% ... tion-Guide
PA Cloud Rest API
https://www.ibm.com/support/knowledgece ... stapi.html
Setting Up Non-Interactive User
https://www.ibm.com/support/knowledgece ... count.html
IBM Federated Authentication
https://www.ibm.com/support/knowledgece ... ation.html
https://www.ibm.com/links?url=https%3A% ... tion-Guide