MindSphere CLI: mdsp notifications Command

Syntax:

mdsp notifications

Help:

mdsp notifications --help

Alternative form:

mc notifications

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

Description

send email, sms and push notifications *

Usage

Parameter list:

Usage: mc notifications|nt [options]

send email, sms and push notifications *

Options:
  -m, --mode [template|status|send]  mode [template|send] (default: "template")
  -t, --type [email|sms|push]        type [email|sms|push] (default: "email")
  -i, --jobid                 job id for status command
  -f, --metadata           metadata file with notification infos
  -a, --files                 comma separated list of attachement files for email (max 5)
  -o, --overwrite                    overwrite template files
  -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 notifications command:


  Examples:

    mc notifications --mode template --type [mail|sms|push] 	 create template file with notification metadata
    mc notifications --mode send --metadata  --type [mail|sms|push] 
					 send notifications (mail, sms, push) to recipients

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