The chat responses are generated using Generative AI technology for intuitive search and may not be entirely accurate. They are not intended as professional advice. For full details, including our use rights, privacy practices and potential export control restrictions, please refer to our Generative AI Service Terms of Use and Generative AI Service Privacy Information. As this is a test version, please let us know if something irritating comes up. Like you get recommended a chocolate fudge ice cream instead of an energy managing application. If that occurs, please use the feedback button in our contact form!
Skip to content
Industrial IoT Open Source Tools and Libraries

Demo applications, libraries and SDKs as well as useful connectivity tools which are maintained and released as open source software.

mdsp sdi-data-queries Command¶

Syntax:

mdsp sdi-data-queries

Help:

mdsp sdi-data-queries --help

Alternative form:

mc sdi-data-queries

(The CLI was using mc as default command name in older versions)

Description¶

manage data queries for SDI *

Usage¶

Parameter list:

Usage: mdsp sdi-data-queries|sdq [options]

manage data queries for SDI *

Options:
 -m, --mode [list|create|update|template|info|delete|latest] list | create | update | template | info | delete | latest (default: "list")
 -d, --query data query file with definition for --mode create or update command
 -i, --queryid the query id for --mode info, update or delete command
 -o, --overwrite overwrite template file if it already exists
 -r, --result result file for --mode latest (default: "sdi.query.latest.mdsp.json")
 -k, --passkey passkey
 -y, --retry retry attempts before giving up (default: "3")
 -v, --verbose verbose output
 -h, --help display help for command

Examples¶

Here are some examples of how to use the mdsp sdi-data-queries command:

 Examples:

 mdsp sdi-data-queries --mode list list all sdi dataqueries
 mdsp sdi-data-queries --mode template create template file
 mdsp sdi-data-queries --mode create --query create sdi data query
 mdsp sdi-data-queries --mode update --query --queryid update sdi data query
 mdsp sdi-data-queries --mode info --queryid get sdi data query info
 mdsp sdi-data-queries --mode latest --queryid get latest query results
 mdsp sdi-data-queries --mode delete --queryid delete sdi data query

See Insights Hub API documentation for more information about Insights Hub APIs.