EmailNotificationDto Data Type

The Class EmailNotificationDto.

Implemented Interfaces
Serializable
Properties
name data type constraints description
disabled boolean   Is entity disabled. Value is ignored in Update action - use enable/disable API instead.
emailFrom string   The email from.
id number   The id.
auditableField array of AuditableFieldDto  
classNameFilter string   The class name filter.
emailToEl string   The email to el.
code string required The code
subject string   The subject.
body string   The body.
eventTypeFilter NotificationEventTypeEnum   Valid values: CREATED, UPDATED, REMOVED, TERMINATED, DISABLED, PROCESSED, REJECTED, REJECTED_CDR, LOGGED_IN, INBOUND_REQ, ENABLED
htmlBody string   The html body.
description string   The description
sendToMail array of string   The send to mail.
elFilter string   The el filter.
updatedCode string   The updated code.
scriptInstanceCode string   The script instance code.
scriptParams map of string   The script params.
counterTemplate string   The counter template.
priority number   The priority.
active boolean   Is Notification active. A negative of Disabled. Deprecated in 5.0.1. Use Disabled field instead.
runAsync boolean   Whether this notification will be run in async mode.
saveSuccessfulNotifications boolean   Whether this notification will be persisted when successful.

Example

{
  "disabled" : true,
  "emailFrom" : "...",
  "id" : 12345,
  "auditableField" : [ {
    "entityClass" : "...",
    "fieldName" : "...",
    "id" : 12345,
    "changeOrigin" : "...",
    "auditableField" : [ { }, { } ],
    "originName" : "...",
    "code" : "...",
    "previousState" : "...",
    "currentState" : "...",
    "description" : "...",
    "created" : "...",
    "updatedCode" : "...",
    "actor" : "..."
  }, {
    "entityClass" : "...",
    "fieldName" : "...",
    "id" : 12345,
    "changeOrigin" : "...",
    "auditableField" : [ { }, { } ],
    "originName" : "...",
    "code" : "...",
    "previousState" : "...",
    "currentState" : "...",
    "description" : "...",
    "created" : "...",
    "updatedCode" : "...",
    "actor" : "..."
  } ],
  "classNameFilter" : "...",
  "emailToEl" : "...",
  "code" : "...",
  "subject" : "...",
  "body" : "...",
  "eventTypeFilter" : "CREATED",
  "htmlBody" : "...",
  "description" : "...",
  "sendToMail" : [ "...", "..." ],
  "elFilter" : "...",
  "updatedCode" : "...",
  "scriptInstanceCode" : "...",
  "scriptParams" : {
    "property1" : "...",
    "property2" : "..."
  },
  "counterTemplate" : "...",
  "priority" : 12345,
  "runAsync" : true,
  "saveSuccessfulNotifications" : true
}