EmailNotification Data Type

Implemented Interfaces
Serializable
Properties
name data type description
htmlBody string
attachmentExpressions array of string
emails array of string
emailFrom string
users array of User
body string
emailToEl string
subject string
Properties inherited from Notification
elFilter string
scriptInstance ScriptInstance
notificationHistories array of NotificationHistory
counterTemplate CounterTemplate
counterInstance CounterInstance
classNameFilter string
params map of string
eventTypeFilter NotificationEventTypeEnum
Properties inherited from BusinessEntity
parentEntityType object
code string
parentEntity BusinessEntity
description string
appendGeneratedCode boolean
descriptionOrCode string
Properties inherited from EnableEntity
active boolean
disabled boolean
Properties inherited from AuditableEntity
auditable Auditable
Properties inherited from BaseEntity
id number
transient boolean
version number

Example

{
  "htmlBody" : "...",
  "attachmentExpressions" : [ "...", "..." ],
  "emails" : [ "...", "..." ],
  "emailFrom" : "...",
  "users" : [ {
    "userLevel" : {
      "users" : [ { }, { } ],
      "orderLevel" : 12345,
      "parentLevel" : { },
      "childLevels" : [ { }, { } ],
      "hierarchyType" : "...",
      "parentEntityType" : { },
      "code" : "...",
      "parentEntity" : { },
      "description" : "...",
      "appendGeneratedCode" : true,
      "descriptionOrCode" : "...",
      "active" : true,
      "disabled" : true,
      "auditable" : { },
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    },
    "nameOrUsername" : "...",
    "email" : "...",
    "lastPasswordModification" : 12345,
    "securedEntitiesMap" : {
      "property1" : [ {
        "entityClass" : "...",
        "code" : "..."
      }, {
        "entityClass" : "...",
        "code" : "..."
      } ],
      "property2" : [ {
        "entityClass" : "...",
        "code" : "..."
      }, {
        "entityClass" : "...",
        "code" : "..."
      } ]
    },
    "parentCFEntities" : [ { }, { } ],
    "newPasswordConfirmation" : "...",
    "uuid" : "...",
    "securedEntities" : [ {
      "entityClass" : "...",
      "code" : "..."
    }, {
      "entityClass" : "...",
      "code" : "..."
    } ],
    "userName" : "...",
    "newPassword" : "...",
    "roles" : [ {
      "roles" : [ { }, { } ],
      "descriptionOrName" : "...",
      "description" : "...",
      "permissions" : [ { }, { } ],
      "allPermissions" : [ { }, { } ],
      "name" : "...",
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    }, {
      "roles" : [ { }, { } ],
      "descriptionOrName" : "...",
      "description" : "...",
      "permissions" : [ { }, { } ],
      "allPermissions" : [ { }, { } ],
      "name" : "...",
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    } ],
    "rolesLabel" : "...",
    "password" : "...",
    "name" : {
      "lastName" : "...",
      "firstName" : "...",
      "title" : { },
      "fullName" : "..."
    },
    "active" : true,
    "disabled" : true,
    "auditable" : {
      "lastModified" : 12345,
      "updater" : "...",
      "created" : 12345,
      "updated" : 12345,
      "creator" : "...",
      "lastUser" : "..."
    },
    "id" : 12345,
    "transient" : true,
    "version" : 12345
  }, {
    "userLevel" : {
      "users" : [ { }, { } ],
      "orderLevel" : 12345,
      "parentLevel" : { },
      "childLevels" : [ { }, { } ],
      "hierarchyType" : "...",
      "parentEntityType" : { },
      "code" : "...",
      "parentEntity" : { },
      "description" : "...",
      "appendGeneratedCode" : true,
      "descriptionOrCode" : "...",
      "active" : true,
      "disabled" : true,
      "auditable" : { },
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    },
    "nameOrUsername" : "...",
    "email" : "...",
    "lastPasswordModification" : 12345,
    "securedEntitiesMap" : {
      "property1" : [ {
        "entityClass" : "...",
        "code" : "..."
      }, {
        "entityClass" : "...",
        "code" : "..."
      } ],
      "property2" : [ {
        "entityClass" : "...",
        "code" : "..."
      }, {
        "entityClass" : "...",
        "code" : "..."
      } ]
    },
    "parentCFEntities" : [ { }, { } ],
    "newPasswordConfirmation" : "...",
    "uuid" : "...",
    "securedEntities" : [ {
      "entityClass" : "...",
      "code" : "..."
    }, {
      "entityClass" : "...",
      "code" : "..."
    } ],
    "userName" : "...",
    "newPassword" : "...",
    "roles" : [ {
      "roles" : [ { }, { } ],
      "descriptionOrName" : "...",
      "description" : "...",
      "permissions" : [ { }, { } ],
      "allPermissions" : [ { }, { } ],
      "name" : "...",
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    }, {
      "roles" : [ { }, { } ],
      "descriptionOrName" : "...",
      "description" : "...",
      "permissions" : [ { }, { } ],
      "allPermissions" : [ { }, { } ],
      "name" : "...",
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    } ],
    "rolesLabel" : "...",
    "password" : "...",
    "name" : {
      "lastName" : "...",
      "firstName" : "...",
      "title" : { },
      "fullName" : "..."
    },
    "active" : true,
    "disabled" : true,
    "auditable" : {
      "lastModified" : 12345,
      "updater" : "...",
      "created" : 12345,
      "updated" : 12345,
      "creator" : "...",
      "lastUser" : "..."
    },
    "id" : 12345,
    "transient" : true,
    "version" : 12345
  } ],
  "body" : "...",
  "emailToEl" : "...",
  "subject" : "...",
  "elFilter" : "...",
  "scriptInstance" : {
    "sourcingRoles" : [ {
      "roles" : [ { }, { } ],
      "descriptionOrName" : "...",
      "description" : "...",
      "permissions" : [ { }, { } ],
      "allPermissions" : [ { }, { } ],
      "name" : "...",
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    }, {
      "roles" : [ { }, { } ],
      "descriptionOrName" : "...",
      "description" : "...",
      "permissions" : [ { }, { } ],
      "allPermissions" : [ { }, { } ],
      "name" : "...",
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    } ],
    "executionRoles" : [ {
      "roles" : [ { }, { } ],
      "descriptionOrName" : "...",
      "description" : "...",
      "permissions" : [ { }, { } ],
      "allPermissions" : [ { }, { } ],
      "name" : "...",
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    }, {
      "roles" : [ { }, { } ],
      "descriptionOrName" : "...",
      "description" : "...",
      "permissions" : [ { }, { } ],
      "allPermissions" : [ { }, { } ],
      "name" : "...",
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    } ],
    "sourceTypeEnum" : "JAVA",
    "error" : true,
    "scriptErrors" : [ {
      "lineNumber" : 12345,
      "message" : "...",
      "sourceFile" : "...",
      "columnNumber" : 12345
    }, {
      "lineNumber" : 12345,
      "message" : "...",
      "sourceFile" : "...",
      "columnNumber" : 12345
    } ],
    "script" : "...",
    "parentEntityType" : { },
    "code" : "...",
    "parentEntity" : {
      "parentEntityType" : { },
      "code" : "...",
      "parentEntity" : { },
      "description" : "...",
      "appendGeneratedCode" : true,
      "descriptionOrCode" : "...",
      "active" : true,
      "disabled" : true,
      "auditable" : { },
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    },
    "description" : "...",
    "appendGeneratedCode" : true,
    "descriptionOrCode" : "...",
    "active" : true,
    "disabled" : true,
    "auditable" : {
      "lastModified" : 12345,
      "updater" : "...",
      "created" : 12345,
      "updated" : 12345,
      "creator" : "...",
      "lastUser" : "..."
    },
    "id" : 12345,
    "transient" : true,
    "version" : 12345
  },
  "notificationHistories" : [ {
    "status" : "FAILED",
    "serializedEntity" : "...",
    "entityCode" : "...",
    "entityClassName" : "...",
    "nbRetry" : 12345,
    "inboundRequest" : {
      "method" : "...",
      "remotePort" : 12345,
      "headers" : {
        "property1" : "...",
        "property2" : "..."
      },
      "pathInfo" : "...",
      "encodedRespCookies" : { },
      "authType" : "...",
      "coockies" : {
        "property1" : "...",
        "property2" : "..."
      },
      "remoteAddr" : "...",
      "scheme" : "...",
      "protocol" : "...",
      "responseBody" : "...",
      "contentType" : "...",
      "encodedHeaders" : { },
      "encodedParams" : { },
      "encodedCookies" : { },
      "encodedRespHeaders" : { },
      "contentLength" : 12345,
      "responseContentType" : "...",
      "responseEncoding" : "...",
      "responseCoockies" : {
        "property1" : "...",
        "property2" : "..."
      },
      "body" : "...",
      "parameters" : {
        "property1" : "...",
        "property2" : "..."
      },
      "responseHeaders" : {
        "property1" : "...",
        "property2" : "..."
      },
      "notificationHistories" : [ { }, { } ],
      "requestURI" : "...",
      "parentEntityType" : { },
      "code" : "...",
      "parentEntity" : { },
      "description" : "...",
      "appendGeneratedCode" : true,
      "descriptionOrCode" : "...",
      "active" : true,
      "disabled" : true,
      "auditable" : { },
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    },
    "notification" : {
      "elFilter" : "...",
      "scriptInstance" : { },
      "notificationHistories" : [ { }, { } ],
      "counterTemplate" : { },
      "counterInstance" : { },
      "classNameFilter" : "...",
      "params" : {
        "property1" : "...",
        "property2" : "..."
      },
      "eventTypeFilter" : "REJECTED",
      "parentEntityType" : { },
      "code" : "...",
      "parentEntity" : { },
      "description" : "...",
      "appendGeneratedCode" : true,
      "descriptionOrCode" : "...",
      "active" : true,
      "disabled" : true,
      "auditable" : { },
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    },
    "result" : "...",
    "active" : true,
    "disabled" : true,
    "auditable" : {
      "lastModified" : 12345,
      "updater" : "...",
      "created" : 12345,
      "updated" : 12345,
      "creator" : "...",
      "lastUser" : "..."
    },
    "id" : 12345,
    "transient" : true,
    "version" : 12345
  }, {
    "status" : "SENT",
    "serializedEntity" : "...",
    "entityCode" : "...",
    "entityClassName" : "...",
    "nbRetry" : 12345,
    "inboundRequest" : {
      "method" : "...",
      "remotePort" : 12345,
      "headers" : {
        "property1" : "...",
        "property2" : "..."
      },
      "pathInfo" : "...",
      "encodedRespCookies" : { },
      "authType" : "...",
      "coockies" : {
        "property1" : "...",
        "property2" : "..."
      },
      "remoteAddr" : "...",
      "scheme" : "...",
      "protocol" : "...",
      "responseBody" : "...",
      "contentType" : "...",
      "encodedHeaders" : { },
      "encodedParams" : { },
      "encodedCookies" : { },
      "encodedRespHeaders" : { },
      "contentLength" : 12345,
      "responseContentType" : "...",
      "responseEncoding" : "...",
      "responseCoockies" : {
        "property1" : "...",
        "property2" : "..."
      },
      "body" : "...",
      "parameters" : {
        "property1" : "...",
        "property2" : "..."
      },
      "responseHeaders" : {
        "property1" : "...",
        "property2" : "..."
      },
      "notificationHistories" : [ { }, { } ],
      "requestURI" : "...",
      "parentEntityType" : { },
      "code" : "...",
      "parentEntity" : { },
      "description" : "...",
      "appendGeneratedCode" : true,
      "descriptionOrCode" : "...",
      "active" : true,
      "disabled" : true,
      "auditable" : { },
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    },
    "notification" : {
      "elFilter" : "...",
      "scriptInstance" : { },
      "notificationHistories" : [ { }, { } ],
      "counterTemplate" : { },
      "counterInstance" : { },
      "classNameFilter" : "...",
      "params" : {
        "property1" : "...",
        "property2" : "..."
      },
      "eventTypeFilter" : "FILE_DOWNLOAD",
      "parentEntityType" : { },
      "code" : "...",
      "parentEntity" : { },
      "description" : "...",
      "appendGeneratedCode" : true,
      "descriptionOrCode" : "...",
      "active" : true,
      "disabled" : true,
      "auditable" : { },
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    },
    "result" : "...",
    "active" : true,
    "disabled" : true,
    "auditable" : {
      "lastModified" : 12345,
      "updater" : "...",
      "created" : 12345,
      "updated" : 12345,
      "creator" : "...",
      "lastUser" : "..."
    },
    "id" : 12345,
    "transient" : true,
    "version" : 12345
  } ],
  "counterTemplate" : {
    "counterType" : "NOTIFICATION",
    "calendar" : {
      "initDate" : 12345,
      "calendarType" : "...",
      "calendarTypeWSubtypes" : "...",
      "parentEntityType" : { },
      "code" : "...",
      "parentEntity" : { },
      "description" : "...",
      "appendGeneratedCode" : true,
      "descriptionOrCode" : "...",
      "active" : true,
      "disabled" : true,
      "auditable" : { },
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    },
    "notificationLevels" : "...",
    "unityDescription" : "...",
    "ceilingExpressionEl" : "...",
    "counterLevel" : "BA",
    "ceiling" : 12345.0,
    "parentEntityType" : { },
    "code" : "...",
    "parentEntity" : {
      "parentEntityType" : { },
      "code" : "...",
      "parentEntity" : { },
      "description" : "...",
      "appendGeneratedCode" : true,
      "descriptionOrCode" : "...",
      "active" : true,
      "disabled" : true,
      "auditable" : { },
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    },
    "description" : "...",
    "appendGeneratedCode" : true,
    "descriptionOrCode" : "...",
    "active" : true,
    "disabled" : true,
    "auditable" : {
      "lastModified" : 12345,
      "updater" : "...",
      "created" : 12345,
      "updated" : 12345,
      "creator" : "...",
      "lastUser" : "..."
    },
    "id" : 12345,
    "transient" : true,
    "version" : 12345
  },
  "counterInstance" : {
    "billingAccount" : {
      "status" : "CANCELED",
      "billingRun" : { },
      "brAmountWithTax" : 12345.0,
      "paymentMethod" : "CARD",
      "tradingCountry" : { },
      "parentCFEntities" : [ { }, { } ],
      "parentEntityType" : { },
      "billingCycle" : { },
      "brAmountWithoutTax" : 12345.0,
      "ratedTransactions" : [ { }, { } ],
      "terminationReason" : { },
      "invoicingThreshold" : 12345.0,
      "invoicePrefix" : "...",
      "statusDate" : 12345,
      "terminationDate" : 12345,
      "nextInvoiceDate" : 12345,
      "tradingLanguage" : { },
      "invoices" : [ { }, { } ],
      "bankCoordinates" : { },
      "discountRate" : 12345.0,
      "discountPlan" : { },
      "counters" : {
        "property1" : { },
        "property2" : { }
      },
      "subscriptionDate" : 12345,
      "billingRunLists" : [ { }, { } ],
      "parentEntity" : { },
      "invoiceAgregates" : [ { }, { } ],
      "email" : "...",
      "usersAccounts" : [ { }, { } ],
      "electronicBilling" : true,
      "customerAccount" : { },
      "paymentTerm" : "CASH",
      "defaultLevel" : true,
      "accountType" : "...",
      "name" : { },
      "externalRef1" : "...",
      "primaryContact" : { },
      "externalRef2" : "...",
      "providerContact" : "...",
      "address" : { },
      "businessAccountModel" : { },
      "uuid" : "...",
      "code" : "...",
      "description" : "...",
      "appendGeneratedCode" : true,
      "descriptionOrCode" : "...",
      "active" : true,
      "disabled" : true,
      "auditable" : { },
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    },
    "userAccount" : {
      "billingAccount" : { },
      "statusDate" : 12345,
      "terminationReason" : { },
      "parentEntity" : { },
      "invoiceAgregates" : [ { }, { } ],
      "wallet" : { },
      "terminationDate" : 12345,
      "parentCFEntities" : [ { }, { } ],
      "subscriptions" : [ { }, { } ],
      "counters" : {
        "property1" : { },
        "property2" : { }
      },
      "prepaidWallets" : {
        "property1" : { },
        "property2" : { }
      },
      "parentEntityType" : { },
      "subscriptionDate" : 12345,
      "status" : "TERMINATED",
      "defaultLevel" : true,
      "accountType" : "...",
      "name" : { },
      "externalRef1" : "...",
      "primaryContact" : { },
      "externalRef2" : "...",
      "providerContact" : "...",
      "address" : { },
      "businessAccountModel" : { },
      "uuid" : "...",
      "code" : "...",
      "description" : "...",
      "appendGeneratedCode" : true,
      "descriptionOrCode" : "...",
      "active" : true,
      "disabled" : true,
      "auditable" : { },
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    },
    "counterPeriods" : [ {
      "counterType" : "NOTIFICATION",
      "level" : 12345.0,
      "counterInstance" : { },
      "notificationLevels" : "...",
      "value" : 12345.0,
      "periodEndDate" : 12345,
      "periodStartDate" : 12345,
      "notificationLevelsAsMap" : {
        "property1" : 12345.0,
        "property2" : 12345.0
      },
      "parentEntityType" : { },
      "code" : "...",
      "parentEntity" : { },
      "description" : "...",
      "appendGeneratedCode" : true,
      "descriptionOrCode" : "...",
      "active" : true,
      "disabled" : true,
      "auditable" : { },
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    }, {
      "counterType" : "USAGE",
      "level" : 12345.0,
      "counterInstance" : { },
      "notificationLevels" : "...",
      "value" : 12345.0,
      "periodEndDate" : 12345,
      "periodStartDate" : 12345,
      "notificationLevelsAsMap" : {
        "property1" : 12345.0,
        "property2" : 12345.0
      },
      "parentEntityType" : { },
      "code" : "...",
      "parentEntity" : { },
      "description" : "...",
      "appendGeneratedCode" : true,
      "descriptionOrCode" : "...",
      "active" : true,
      "disabled" : true,
      "auditable" : { },
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    } ],
    "counterTemplate" : {
      "counterType" : "USAGE",
      "calendar" : { },
      "notificationLevels" : "...",
      "unityDescription" : "...",
      "ceilingExpressionEl" : "...",
      "counterLevel" : "BA",
      "ceiling" : 12345.0,
      "parentEntityType" : { },
      "code" : "...",
      "parentEntity" : { },
      "description" : "...",
      "appendGeneratedCode" : true,
      "descriptionOrCode" : "...",
      "active" : true,
      "disabled" : true,
      "auditable" : { },
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    },
    "parentEntityType" : { },
    "code" : "...",
    "parentEntity" : {
      "parentEntityType" : { },
      "code" : "...",
      "parentEntity" : { },
      "description" : "...",
      "appendGeneratedCode" : true,
      "descriptionOrCode" : "...",
      "active" : true,
      "disabled" : true,
      "auditable" : { },
      "id" : 12345,
      "transient" : true,
      "version" : 12345
    },
    "description" : "...",
    "appendGeneratedCode" : true,
    "descriptionOrCode" : "...",
    "active" : true,
    "disabled" : true,
    "auditable" : {
      "lastModified" : 12345,
      "updater" : "...",
      "created" : 12345,
      "updated" : 12345,
      "creator" : "...",
      "lastUser" : "..."
    },
    "id" : 12345,
    "transient" : true,
    "version" : 12345
  },
  "classNameFilter" : "...",
  "params" : {
    "property1" : "...",
    "property2" : "..."
  },
  "eventTypeFilter" : "FILE_RENAME",
  "parentEntityType" : { },
  "code" : "...",
  "parentEntity" : {
    "parentEntityType" : { },
    "code" : "...",
    "parentEntity" : { },
    "description" : "...",
    "appendGeneratedCode" : true,
    "descriptionOrCode" : "...",
    "active" : true,
    "disabled" : true,
    "auditable" : {
      "lastModified" : 12345,
      "updater" : "...",
      "created" : 12345,
      "updated" : 12345,
      "creator" : "...",
      "lastUser" : "..."
    },
    "id" : 12345,
    "transient" : true,
    "version" : 12345
  },
  "description" : "...",
  "appendGeneratedCode" : true,
  "descriptionOrCode" : "...",
  "active" : true,
  "disabled" : true,
  "auditable" : {
    "lastModified" : 12345,
    "updater" : "...",
    "created" : 12345,
    "updated" : 12345,
    "creator" : "...",
    "lastUser" : "..."
  },
  "id" : 12345,
  "transient" : true,
  "version" : 12345
}