com.apama.cumulocity
Event SendSMS


Requests Cumulocity to send an SMS alert.

Example:
 send SendSMS("Message",["+918XXXXXXXX1"],"10XXX",{"senderName":"Some Name","senderAddress":"Some Address"}) to SendSMS.SEND_CHANNEL; 

Constant summary
 stringCHANNEL := "cumulocity.sms"

Channel to send these events to.
Deprecated:
[This channel constant has been deprecated. Use SEND_CHANNEL instead.]
 stringSEND_CHANNEL := "cumulocity.sms"

Channel to send these events to.
 
Field summary
 stringmessage

The content of the SMS. The maximum length is 160 characters. If the length is exceeded, the content is truncated to 160 characters.
 sequence<string>address

The list of recipients of the SMS.
 stringsourceAssetId

The identifier of the source that triggered this SMS.
 dictionary<stringstring>extraParams

Additional parameters.
 
Constant detail

CHANNEL

string CHANNEL := "cumulocity.sms"
Deprecated:
[This channel constant has been deprecated. Use SEND_CHANNEL instead.]
Channel to send these events to.

SEND_CHANNEL

string SEND_CHANNEL := "cumulocity.sms"
Channel to send these events to.
Since:
10.5.2.0

Field detail

address

sequence<stringaddress
The list of recipients of the SMS.

extraParams

dictionary<stringstringextraParams
Additional parameters.

Recognised keys include:

"senderName" - Used to override the sms.senderName used in the platform.

"senderAddress" - Used to override the sms.senderAddress used in the platform.

message

string message
The content of the SMS. The maximum length is 160 characters. If the length is exceeded, the content is truncated to 160 characters.

sourceAssetId

string sourceAssetId
The identifier of the source that triggered this SMS.