This section demonstrates how to call the Web API service through a client application and fetch the aggregated data for the sales of the products in the countries. The client sends a POST Ajax request to the service, which returns a response stream. The response stream is then saved in the JSON format.
In the following example, we use “complex” as an example. It is the registered key for the DataEngine data source. The service URL takes in the Data Source name, location of dataset or collection, and the corresponding fields that are associated with the dataset.
Use the following javascript to call the Web API service to create an analysis from the service application.
Back to Top