Getting started with REST API (issue)

Post Reply
no_surrender
Posts: 12
Joined: Thu Aug 23, 2012 8:15 am
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2013

Getting started with REST API (issue)

Post 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.
Edward Stuart
Community Contributor
Posts: 247
Joined: Tue Nov 01, 2011 10:31 am
OLAP Product: TM1
Version: All
Excel Version: All
Location: Manchester
Contact:

Re: Getting started with REST API (issue)

Post 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
no_surrender
Posts: 12
Joined: Thu Aug 23, 2012 8:15 am
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2013

Re: Getting started with REST API (issue)

Post 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 )
tomok
MVP
Posts: 2831
Joined: Tue Feb 16, 2010 2:39 pm
OLAP Product: TM1, Palo
Version: Beginning of time thru 10.2
Excel Version: 2003-2007-2010-2013
Location: Atlanta, GA
Contact:

Re: Getting started with REST API (issue)

Post 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?
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
no_surrender
Posts: 12
Joined: Thu Aug 23, 2012 8:15 am
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2013

Re: Getting started with REST API (issue)

Post 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
Edward Stuart
Community Contributor
Posts: 247
Joined: Tue Nov 01, 2011 10:31 am
OLAP Product: TM1
Version: All
Excel Version: All
Location: Manchester
Contact:

Re: Getting started with REST API (issue)

Post 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
no_surrender
Posts: 12
Joined: Thu Aug 23, 2012 8:15 am
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2013

Re: Getting started with REST API (issue)

Post 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)
Edward Stuart
Community Contributor
Posts: 247
Joined: Tue Nov 01, 2011 10:31 am
OLAP Product: TM1
Version: All
Excel Version: All
Location: Manchester
Contact:

Re: Getting started with REST API (issue)

Post 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
BrianL
MVP
Posts: 264
Joined: Mon Nov 03, 2014 8:23 pm
OLAP Product: TM1
Version: 9.5.2 10.1 10.2 PA2
Excel Version: 2016

Re: Getting started with REST API (issue)

Post 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.
Post Reply