MindSphere CLI: 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: mc 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:

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

See MindSphere API documentation for more information about MindSphere APIs.

Further Information

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