Planon IoT : Axonize (stand-alone) : Rules Endpoints : Rules/Post : Request – Rules/Post – smsProperties
Request – Rules/Post – smsProperties
Property
Type
Description
Mandatory
actions/smsProperties
Object
These are the actions properties to be filled out in order to trigger the sending of an SMS.
Some of the properties for defining an SMS action are the same as described above for actions/emailProperties. Refer there for a description of –
Message
UserIds
UserDetails
In order to send an SMS, it is mandatory that the User’s phoneNumber be defined. The country code must be used at the beginning of the number. For example, +44 for Germany.
“SmsProperties” : {
“userDetails” : [
{
“name” : “”,
“phoneNumber” : “+95465464”,
“email” : null
}
],
“message” : “{severity} alarm from {deviceName} – {triggeringEvent} {operator} {threshold} on value {value}”,
“userIds” : [
“580c7cfdcb517ad4e824e1ff”,
“587df1b3132dce1a5cec3c0d”
]
}