I've been working/experimenting with the TM1 REST API lately and I've hit a bit of a snag when it comes to using the ExecuteMDX command.
I've been using the Talend extension in Chrome to test out my REST queries with no issues, but in this case I get an error even though the code that I'm using appears to be coming straight from the TM1 REST API manual.
The code that I'm running is as follows:
https://a_Server.planning-analytics.ibmcloud.com/tm1/api/a_PA_Instance/api/v1/ExecuteMDX?$expand=Axes($expand=Hierarchies/$ref,Tuples($expand=Members/$ref)),Cells{"MDX": "select [}CubeAttributes].members on 0, [}Cubes].members on 1 from [}CubeAttributes]"}
Note that for the purpose of posting I've replaced the server name with "a_Server" and the PA instance with "a_PA_Instance"
The code came from the tm1_rest_api.pdf
Unfortunately I get the following error
As I said, I've tried a few, really basic MDX queries, but I keep getting this error.
Has anything changed with the TM1 REST API that would impact this command? In the past I didn't have this issue, although it was for an on-premise system.
Thanks,
------------------------------
Wayne
------------------------------
#PlanningAnalyticswithWatson