0

I am trying to get all the records of salesforce wave analytics dataset object but i don't want to user GET API available for it. Is there any other way to retrieve all datasets other than regular GET API?

3 Answers 3

1

If you take a close look at the documentation, the supported methods are listed.

Dataset Resource

HTTP Methods:

GET

You can check the Wave REST API Reference Resources overview here

1
  • So how can i get all datasets with its fields/records and their values using a single call?
    – Shreeya
    May 12, 2017 at 5:24
0

Analytics allows exporting data. Please refer this link: https://help.salesforce.com/articleView?id=bi_setup_download_enable.htm&type=5

0

There is a ConnectAPI available that allows you to query datasets. It would work something like this. It returns a JSON with the results that needs to be processed.

String query = Wave.QueryBuilder.loadByDeveloperName(datasetName).foreach(fields).build('q');
ConnectApi.LiteralJson result = ConnectApi.Wave.executeQuery(query );

https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_sdk.meta/bi_dev_guide_sdk/bi_sdk_apex_examples.htm

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .