Hello DataMiner Community,
I am developing a driver that polls JSON results from an API and updates a table using the QAction FillArray method, leveraging Newtonsoft.Json for deserialization. Although my code compiles successfully and the HTTP session returns a 200 status along with valid data, the table—and consequently the Stream Viewer—remains empty after publishing.
I suspect the issue may be related to the configuration and sequencing of my polling groups, triggers, and actions. Specifically, I am unsure if my groups are correctly set up to trigger the HTTP session and if my triggers and QActions are properly configured to process the JSON response and populate the table.
Could anyone provide guidance or share a working example that demonstrates best practices for polling JSON data into a table using these mechanisms? Any insights into the correct ordering and configuration of groups, triggers, and actions would be greatly appreciated.
Thank you in advance for your assistance!
Hi Maya,
The general guideline would be to define a timer within the protocol.xml. This timer will be responsible to trigger your HTTP Session to retrieve the data for the specified interval.
More information on how to setup the Timer → Group → Session for HTTP communication can be found on the following docs page.
The page also contains a link to a generic HTTP connector example available on GitHub.
Hope this helps 🙂
Kind regards,

Hi Maya,
Apologies for the broken link, I've updated the link in the above post (URL: https://github.com/SkylineCommunications/SLC-C-Example_HTTP).
The Timer will contain a group which is put on the execution queue at each passing timer interval and the group then gets executed.
The Group should contain the <Content>-tag which links to your defined HTTP Session.
The StreamViewer will then display your request and response every time the timer goes off.
In the example, QAction 1 is triggered by the response parameter (PID20) every time a response is received. QAction 1 will then fill the contents of the defined table.
If the linked example would be unclear, extra details on integrating an HTTP connector can be found on the docs: https://docs.dataminer.services/develop/devguide/Connector/ConnectionsHttpImplementing.html
https://docs.dataminer.services/develop/devguide/Connector/ConnectionsHttpUseCase.html
https://docs.dataminer.services/develop/devguide/Connector/ConnectionsHttpExamples.html
There are also fully detailed courses available on Dojo which take you through the development step-by-step: https://community.dataminer.services/courses/dataminer-connector-integration-http-basics/
Hope this helps 🙂
Hi Robin,
Thank you for your prompt reply. However, I set a timer for 10 seconds with the associated group, and I'm still not seeing any results. Additionally, the example you shared appears to be unreachable.
My main issue is understanding where things went wrong. When I manually request the API, I receive a JSON response body, but when I parse that JSON and attempt to populate my table using FillArray, the table (and consequently the stream viewer) remains empty. As a beginner in this area, I would greatly appreciate any guidance or a working example that could help me understand the proper configuration and sequencing of polling groups, triggers, and QActions from a JSON response to the table as polling.
Thank you again for your assistance!
Best Regards,