IBM / paxapi

This repository hosts the API documentation for IBM Planning Analytics for Microsoft Excel. For full product documentation, please visit the Knowledge Center:
https://www.ibm.com/support/knowledgecenter/SSD29G_2.0.0/kc_gen/com.ibm.swg.ba.cognos.ipa.doc_using_planning_analytics_toc-gen2.html
Apache License 2.0
6 stars 5 forks source link

Samples are using out-of-date information #3

Closed Meister1867 closed 4 years ago

Meister1867 commented 5 years ago

Operating system: ✍️ TODO Last upstream commit (run git log --author="Robert Lord" | head -n 1): ✍️ TODO Browser version(s): ✍️ TODO Ruby version (run ruby -v): ✍️ TODO


✍️ TODO write your issue here Ref. IBM Forum link It appears that the samples are using out-of-date values when using the REST API. In the case the REST GET request (link) the code being used is

Public Property Get OData(Server As String) As String 'OData endpoint OData = HubEndpoint + "server('" + Server + "')/api/v1" End Property

but as per the referred link on the forums it should use...

Public Property Get OData(Server As String) As String 'OData endpoint OData = "tm1/" + Server + "/api/v1" End Property

Changing the value for OData resulted in a connection being established.

charliele-ibm commented 5 years ago

https://ibm.github.io/paxapi/#rest-api

Document has been updated. Please check it out and see if it looks fine