Skip to content
Siemens Developer Portal

mdsp sdi-data-queries Command


mdsp sdi-data-queries


mdsp sdi-data-queries --help

Alternative form:

mc sdi-data-queries

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


manage data queries for SDI *


Parameter list:

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

manage data queries for SDI *

 -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


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


 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.


Connect and Collaborate with Industrial Professionals and Join the Community!

Click to load comments