Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Initially your service does not include any queries. Click on 'Add New Query' to add a new query, input/output mappings, events etc. to your Data Service. Enter query details according to the structure of the response you want.

Scraper variable should be the same as the output name in the configuration, which actually returns the output from the configuration. Eg: It should be 'weatherInfo' which is the var-def name in the configuration.

In this example, we have used Grouped By Element, Row Name and Row namespace as follows.

Image Removed

Image Added

Click the Add New Output Mapping button as shown in the screenshot above to create to define how the output looks like. Once you have entered the output mapping details, click Main Configuration and then the Save button In this example, we create Customer Number as element and Customer Name and City as attributes as follows:

Image Removed

Once Image Added

Click on Main Configuration once you enter the output mappings and Save the query details are added click Save.

You have added one query to your data service configuration. Click Save.

7. To continue, click Next.7After saving, the added data source page appears. You can edit or delete the Data Source. To proceed click "Next."

Image Added

8. The Operations page appears. Click the Add new operation link to create an operation. Select a query to be executed when this operation is called.

...