Page 1 of 1

REST API error when executing view

Posted: Mon Apr 27, 2020 2:09 pm
by Max Biddulph
Hi all,

I am trying to return a cellset from a view of a cube on TM1.

Following the IBM documentation I'm running the following POST request in Postman.
http://<server>/api/v1/Cubes(<cube>)/Views(<view>)/tm1.execute?$expand=Cells
but am getting the error below with a http 501 status.

"code": "278",
"message": "Addressing array or object typed dynamic properties is not currently supported."

I am able to view column and row dimensions using the native view, but receive that error whenever running tm1.execute. Also just to add I'm not an admin on TM1 and also we are on TM1 11.6

Anyone have any ideas?

Thanks in advance,
Max

Re: REST API error when executing view

Posted: Tue Apr 28, 2020 2:40 am
by kangkc
It is supposed to be "tm1.Execute"

It is case sensitive :D

Re: REST API error when executing view

Posted: Wed Apr 29, 2020 8:42 am
by Max Biddulph
Wow that's embarrassing, thanks! :D