Page 1 of 1

Getting started with REST API (issue)

Posted: Mon May 21, 2018 8:54 am
by no_surrender
Hello all,

I have some issue trying to see this page http://tm1server:HTTPPortNumber/api/v1/$metadata or http://tm1server:HTTPPortNumber/api/v1/
The message that i get from my browsers is "This page can't be displayed"
What could be wrong?
I've try do it on 2 different servers and different tm1 instances.

Thank you.

Re: Getting started with REST API (issue)

Posted: Mon May 21, 2018 8:59 am
by Edward Stuart
You will need to set the installation/ configuration details in the manual:

https://www.ibm.com/support/knowledgece ... stall.html

Specifically the httpportnumber

Re: Getting started with REST API (issue)

Posted: Mon May 21, 2018 9:45 am
by no_surrender
Edward Stuart wrote: Mon May 21, 2018 8:59 am You will need to set the installation/ configuration details in the manual:

https://www.ibm.com/support/knowledgece ... stall.html

Specifically the httpportnumber
Of course, I've read it before asking here )

Re: Getting started with REST API (issue)

Posted: Mon May 21, 2018 11:07 am
by tomok
Did you literally try this address, http://tm1server:HTTPPortNumber/api/v1/$metadata, or did you substitute in the port number for the "HTTPPortNumber" part of the string?

Re: Getting started with REST API (issue)

Posted: Mon May 21, 2018 11:18 am
by no_surrender
tomok wrote: Mon May 21, 2018 11:07 am Did you literally try this address, http://tm1server:HTTPPortNumber/api/v1/$metadata, or did you substitute in the port number for the "HTTPPortNumber" part of the string?
I used real http port number and real server name

Re: Getting started with REST API (issue)

Posted: Mon May 21, 2018 12:30 pm
by Edward Stuart
Can you give some further indications as to what you have tried, does the link work with localhost when on the server?

Request for assistance guidelines

Re: Getting started with REST API (issue)

Posted: Tue May 22, 2018 10:57 am
by no_surrender
Edward Stuart wrote: Mon May 21, 2018 12:30 pm Can you give some further indications as to what you have tried, does the link work with localhost when on the server?

Request for assistance guidelines
I've done everything like in manual and tried that link. I've done it right on the server and remotely on my pc. I've tried different servers, different instances, different links (with full server name, short name, localhost)

Re: Getting started with REST API (issue)

Posted: Tue May 22, 2018 12:19 pm
by Edward Stuart
Are the firewall ports open for port number 5895 or 5898?

Have you re-started the adminhost and verified the port number settings? What have you input for UseSSL?

http://localhost:5895/api/v1/Servers
https://localhost:5898/api/v1/Servers

What version of TM1 are you using, is it still 10.2.2? Which Fix pack? Which browser are you using? Which version? is it compatible? What operating system are you using? What version? These may or may not be relevant but "I've done everything like in manual" does not really help diagnose your error does it.

https://www.ibm.com/support/knowledgece ... _host.html

Re: Getting started with REST API (issue)

Posted: Fri May 25, 2018 3:06 pm
by BrianL
What is the UseSSL setting in the tm1s.cfg? If it's set to T you'll need to use httpS instead of http.