EmailNotification Data Type

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

Example

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