Quantcast
Channel: SCN : Popular Discussions - RESTful Web Services SDK
Viewing all articles
Browse latest Browse all 1088

How do we obtain data from an XTable (CrossTab)?

$
0
0

Hey guys,

 

So using the REST services to read Webi documents, I've been able to pull data from an HTable and a VTable by using "dataset" as such:

https://<host:port>/biprws/raylight/v1/documents/1208969/reports/2/elements/14/dataset


Result:

{"dataset":{"metadata":{"value":[{"@dataObjectId":"DP0.DOda","@type":"String","$":"State"},{"@dataObjectId":"DP0.DO93","@type":"Numeric","$":"Sales"}]},"row":{"value":["California","$$$$$"]}}}


However, I can't seem to be able to pull anything from an XTable, the result is always:

{"dataset": ""}


I've tried a bunch of things like using "datafilter", "datapath", tried supplying "parameters", and etc, but I can't seem to figure it out.

I know the API can sometimes be tricky and I'm wondering if this is one of those cases.

Does anyone know to pull from an XTable or why it won't work?

 

Thanks!

Scott


Viewing all articles
Browse latest Browse all 1088

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>