REST API: Cloud
Posted: Tue Jul 02, 2019 9:42 pm
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?
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?