MindSphere CLI: 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: mc 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 MindSphere API documentation for more information about MindSphere APIs.

The content of the community tools and libraries documentation pages is licensed under the MIT License.
Siemens API Notice applies.
Back to top