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: mdsp 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:
mdsp notifications --mode template --type [mail|sms|push] create template file with notification metadata
mdsp notifications --mode send --metadata --type [mail|sms|push]
send notifications (mail, sms, push) to recipients
See Insights Hub API documentation for more information about Insights Hub APIs.