You can use message templates in actions that involve sending notifications (see E–mail notification, Push notificationExecuting a Web-query):

In addition to curly braces {}, you can also use %% in templates. For example, %cameraId%.

The date/time templates (such as dateTime, serverDateTime, appearedTime, serverAppearedTime) offer an extended input option which allows you to specify the date and time in arbitrary format. A format description parameter must be contained within a pair of @ symbols. 

For example: {dateTime@%Y–%m–%d %H:%M:%S@}. In this case, the actual format is presented as 2020–10–04 18:43:23.

Available parameters:


Parameter

Description

%a

Abbreviation for the day of the week

%A

Full name of the day of the week

%b

Abbreviation for the month 

%B

Full name of the month 

%y

Last two digits of the year

%Y

The year in full

%m 

Month of the year 

%d 

Day of the month

%H

Hour in 24h format

%M

Minute as a decimal number 

%S

Second as a decimal number

%F

Fractions of a second

Combined parameters:

Parameter

Description

%D

Equivalent to %m/%d/%y

%T

Equivalent to %H:%M:%S



For example, this macro sends an email of the following format when the Water Level Detection generates an event:

Subject: Notification: Attention, water level detection is triggered.

Server: Server1
Camera: 10.0.11.36 34.Camera
Time: 20190812T085517.926430