Message Data Type

Implemented Interfaces
Serializable
Properties
name data type description
rejectionReason string
parameters array of MessageVariableValue
subMedia string
templateCode string
status MessageStatusEnum
transient boolean
version number
contact Contact
media MediaEnum
priority PriorityEnum
id number
campaign Campaign

Example

{
  "rejectionReason" : "...",
  "parameters" : [ {
    "auditable" : {
      "updater" : "...",
      "updated" : 12345,
      "creator" : "...",
      "lastUser" : "...",
      "created" : 12345,
      "lastModified" : 12345
    },
    "notified" : true,
    "appendGeneratedCode" : true,
    "description" : "...",
    "parentEntity" : {
      "auditableFields" : [ { }, { } ],
      "description" : "...",
      "version" : 12345,
      "id" : 12345,
      "notified" : true,
      "appendGeneratedCode" : true,
      "auditable" : { },
      "codeChanged" : true,
      "parentEntityType" : { },
      "descriptionAndCode" : "...",
      "descriptionOrCode" : "...",
      "transient" : true,
      "parentEntity" : { },
      "referenceDescription" : "...",
      "historized" : true,
      "referenceCode" : "...",
      "code" : "..."
    },
    "auditableFields" : [ {
      "historable" : true,
      "fieldName" : "...",
      "currentState" : { },
      "notified" : true,
      "notfiable" : true,
      "previousState" : { },
      "auditType" : "STATUS",
      "historized" : true
    }, {
      "historable" : true,
      "fieldName" : "...",
      "currentState" : { },
      "notified" : true,
      "notfiable" : true,
      "previousState" : { },
      "auditType" : "STATUS",
      "historized" : true
    } ],
    "descriptionAndCode" : "...",
    "message" : {
      "rejectionReason" : "...",
      "parameters" : [ { }, { } ],
      "subMedia" : "...",
      "templateCode" : "...",
      "status" : "PROCESSING",
      "transient" : true,
      "version" : 12345,
      "contact" : { },
      "media" : "POSTAL_MAIL",
      "priority" : "NORMAL",
      "id" : 12345,
      "campaign" : { }
    },
    "referenceCode" : "...",
    "codeChanged" : true,
    "code" : "...",
    "descriptionOrCode" : "...",
    "value" : "...",
    "parentEntityType" : { },
    "historized" : true,
    "id" : 12345,
    "referenceDescription" : "...",
    "transient" : true,
    "version" : 12345
  }, {
    "auditable" : {
      "updater" : "...",
      "updated" : 12345,
      "creator" : "...",
      "lastUser" : "...",
      "created" : 12345,
      "lastModified" : 12345
    },
    "notified" : true,
    "appendGeneratedCode" : true,
    "description" : "...",
    "parentEntity" : {
      "auditableFields" : [ { }, { } ],
      "description" : "...",
      "version" : 12345,
      "id" : 12345,
      "notified" : true,
      "appendGeneratedCode" : true,
      "auditable" : { },
      "codeChanged" : true,
      "parentEntityType" : { },
      "descriptionAndCode" : "...",
      "descriptionOrCode" : "...",
      "transient" : true,
      "parentEntity" : { },
      "referenceDescription" : "...",
      "historized" : true,
      "referenceCode" : "...",
      "code" : "..."
    },
    "auditableFields" : [ {
      "historable" : true,
      "fieldName" : "...",
      "currentState" : { },
      "notified" : true,
      "notfiable" : true,
      "previousState" : { },
      "auditType" : "RENEWAL",
      "historized" : true
    }, {
      "historable" : true,
      "fieldName" : "...",
      "currentState" : { },
      "notified" : true,
      "notfiable" : true,
      "previousState" : { },
      "auditType" : "RENEWAL",
      "historized" : true
    } ],
    "descriptionAndCode" : "...",
    "message" : {
      "rejectionReason" : "...",
      "parameters" : [ { }, { } ],
      "subMedia" : "...",
      "templateCode" : "...",
      "status" : "TREATED",
      "transient" : true,
      "version" : 12345,
      "contact" : { },
      "media" : "DUNNING_MEDIA",
      "priority" : "SLOW",
      "id" : 12345,
      "campaign" : { }
    },
    "referenceCode" : "...",
    "codeChanged" : true,
    "code" : "...",
    "descriptionOrCode" : "...",
    "value" : "...",
    "parentEntityType" : { },
    "historized" : true,
    "id" : 12345,
    "referenceDescription" : "...",
    "transient" : true,
    "version" : 12345
  } ],
  "subMedia" : "...",
  "templateCode" : "...",
  "status" : "WAITING",
  "transient" : true,
  "version" : 12345,
  "contact" : {
    "auditable" : {
      "updater" : "...",
      "updated" : 12345,
      "creator" : "...",
      "lastUser" : "...",
      "created" : 12345,
      "lastModified" : 12345
    },
    "vatNo" : "...",
    "contactInformation" : {
      "phone" : "...",
      "fax" : "...",
      "email" : "...",
      "mobile" : "..."
    },
    "primaryContact" : {
      "descriptionOrCode" : "...",
      "historized" : true,
      "descriptionAndCode" : "...",
      "parentEntityType" : { },
      "auditable" : { },
      "phone" : "...",
      "firstName" : "...",
      "notified" : true,
      "id" : 12345,
      "referenceDescription" : "...",
      "parentEntity" : { },
      "version" : 12345,
      "genericMail" : "...",
      "code" : "...",
      "description" : "...",
      "lastName" : "...",
      "auditableFields" : [ { }, { } ],
      "referenceCode" : "...",
      "mobile" : "...",
      "codeChanged" : true,
      "appendGeneratedCode" : true,
      "transient" : true,
      "address" : { },
      "fax" : "...",
      "email" : "..."
    },
    "notified" : true,
    "addressBookContacts" : [ {
      "id" : 12345,
      "position" : "...",
      "contact" : { },
      "version" : 12345,
      "addressBook" : { },
      "mainContact" : true,
      "transient" : true
    }, {
      "id" : 12345,
      "position" : "...",
      "contact" : { },
      "version" : 12345,
      "addressBook" : { },
      "mainContact" : true,
      "transient" : true
    } ],
    "parentEntityType" : { },
    "assistantPhone" : "...",
    "cfAccumulatedValues" : {
      "valuesByCode" : {
        "property1" : [ { }, { } ],
        "property2" : [ { }, { } ]
      },
      "values" : {
        "property1" : { },
        "property2" : { }
      },
      "newVersionedCFValuePeriods" : {
        "property1" : [ { }, { } ],
        "property2" : [ { }, { } ]
      },
      "encrypted" : true
    },
    "version" : 12345,
    "position" : "...",
    "legalEntityType" : {
      "id" : 12345,
      "referenceDescription" : "...",
      "historized" : true,
      "descriptionI18n" : {
        "property1" : "...",
        "property2" : "..."
      },
      "parentEntityType" : { },
      "referenceCode" : "...",
      "isCompany" : true,
      "parentEntity" : { },
      "auditable" : { },
      "version" : 12345,
      "descriptionOrCode" : "...",
      "auditableFields" : [ { }, { } ],
      "notified" : true,
      "description" : "...",
      "transient" : true,
      "descriptionNotNull" : "...",
      "codeChanged" : true,
      "descriptionI18nNullSafe" : {
        "property1" : "...",
        "property2" : "..."
      },
      "code" : "...",
      "appendGeneratedCode" : true,
      "descriptionAndCode" : "..."
    },
    "historized" : true,
    "isCompany" : true,
    "contactCategories" : [ {
      "parentEntity" : { },
      "historized" : true,
      "version" : 12345,
      "referenceCode" : "...",
      "descriptionAndCode" : "...",
      "parentCFEntities" : [ { }, { } ],
      "cfValues" : { },
      "referenceDescription" : "...",
      "appendGeneratedCode" : true,
      "notified" : true,
      "auditable" : { },
      "uuid" : "...",
      "descriptionOrCode" : "...",
      "code" : "...",
      "cfAccumulatedValues" : { },
      "codeChanged" : true,
      "parentEntityType" : { },
      "id" : 12345,
      "transient" : true,
      "auditableFields" : [ { }, { } ],
      "description" : "..."
    }, {
      "parentEntity" : { },
      "historized" : true,
      "version" : 12345,
      "referenceCode" : "...",
      "descriptionAndCode" : "...",
      "parentCFEntities" : [ { }, { } ],
      "cfValues" : { },
      "referenceDescription" : "...",
      "appendGeneratedCode" : true,
      "notified" : true,
      "auditable" : { },
      "uuid" : "...",
      "descriptionOrCode" : "...",
      "code" : "...",
      "cfAccumulatedValues" : { },
      "codeChanged" : true,
      "parentEntityType" : { },
      "id" : 12345,
      "transient" : true,
      "auditableFields" : [ { }, { } ],
      "description" : "..."
    } ],
    "prospect" : true,
    "tags" : [ "...", "..." ],
    "agreedToUA" : true,
    "importedFrom" : "...",
    "appendGeneratedCode" : true,
    "externalRef1" : "...",
    "jobTitle" : "...",
    "cfValues" : {
      "valuesByCode" : {
        "property1" : [ { }, { } ],
        "property2" : [ { }, { } ]
      },
      "values" : {
        "property1" : { },
        "property2" : { }
      },
      "newVersionedCFValuePeriods" : {
        "property1" : [ { }, { } ],
        "property2" : [ { }, { } ]
      },
      "encrypted" : true
    },
    "reference" : "...",
    "descriptionOrCode" : "...",
    "contactInformationNullSafe" : {
      "phone" : "...",
      "fax" : "...",
      "email" : "...",
      "mobile" : "..."
    },
    "assistantName" : "...",
    "description" : "...",
    "websiteUrl" : "...",
    "comment" : "...",
    "codeChanged" : true,
    "referenceDescription" : "...",
    "enterprise" : true,
    "registrationNo" : "...",
    "vip" : true,
    "messages" : [ {
      "rejectionReason" : "...",
      "parameters" : [ { }, { } ],
      "subMedia" : "...",
      "templateCode" : "...",
      "status" : "CANCELED",
      "transient" : true,
      "version" : 12345,
      "contact" : { },
      "media" : "DATABASE",
      "priority" : "NORMAL",
      "id" : 12345,
      "campaign" : { }
    }, {
      "rejectionReason" : "...",
      "parameters" : [ { }, { } ],
      "subMedia" : "...",
      "templateCode" : "...",
      "status" : "TREATED",
      "transient" : true,
      "version" : 12345,
      "contact" : { },
      "media" : "IM",
      "priority" : "NORMAL",
      "id" : 12345,
      "campaign" : { }
    } ],
    "addressBook" : {
      "referenceDescription" : "...",
      "historized" : true,
      "description" : "...",
      "auditable" : { },
      "auditableFields" : [ { }, { } ],
      "descriptionOrCode" : "...",
      "parentEntityType" : { },
      "parentEntity" : { },
      "descriptionAndCode" : "...",
      "contacts" : [ { }, { } ],
      "transient" : true,
      "notified" : true,
      "customer" : { },
      "appendGeneratedCode" : true,
      "code" : "...",
      "referenceCode" : "...",
      "codeChanged" : true,
      "version" : 12345,
      "id" : 12345
    },
    "company" : "...",
    "name" : {
      "fullName" : "...",
      "lastName" : "...",
      "title" : { },
      "firstName" : "..."
    },
    "code" : "...",
    "parentEntity" : {
      "auditableFields" : [ { }, { } ],
      "description" : "...",
      "version" : 12345,
      "id" : 12345,
      "notified" : true,
      "appendGeneratedCode" : true,
      "auditable" : { },
      "codeChanged" : true,
      "parentEntityType" : { },
      "descriptionAndCode" : "...",
      "descriptionOrCode" : "...",
      "transient" : true,
      "parentEntity" : { },
      "referenceDescription" : "...",
      "historized" : true,
      "referenceCode" : "...",
      "code" : "..."
    },
    "socialIdentifier" : "...",
    "referenceCode" : "...",
    "parentCFEntities" : [ {
      "cfValuesNullSafe" : { },
      "dirtyCF" : true,
      "parentCFEntities" : [ { }, { } ],
      "cfValuesAsValues" : {
        "property1" : { },
        "property2" : { }
      },
      "cfAccumulatedValuesNullSafe" : { },
      "cfValues" : { },
      "cfAccumulatedValues" : { },
      "uuid" : "...",
      "CFValuesCopy" : { }
    }, {
      "cfValuesNullSafe" : { },
      "dirtyCF" : true,
      "parentCFEntities" : [ { }, { } ],
      "cfValuesAsValues" : {
        "property1" : { },
        "property2" : { }
      },
      "cfAccumulatedValuesNullSafe" : { },
      "cfValues" : { },
      "cfAccumulatedValues" : { },
      "uuid" : "...",
      "CFValuesCopy" : { }
    } ],
    "uuid" : "...",
    "externalRef2" : "...",
    "importedBy" : "...",
    "descriptionAndCode" : "...",
    "transient" : true,
    "auditableFields" : [ {
      "historable" : true,
      "fieldName" : "...",
      "currentState" : { },
      "notified" : true,
      "notfiable" : true,
      "previousState" : { },
      "auditType" : "STATUS",
      "historized" : true
    }, {
      "historable" : true,
      "fieldName" : "...",
      "currentState" : { },
      "notified" : true,
      "notfiable" : true,
      "previousState" : { },
      "auditType" : "STATUS",
      "historized" : true
    } ],
    "contactPolicy" : {
      "delayMinBetween2messages" : 12345,
      "nbMaxMessagePerMonth" : 12345,
      "nbMaxMessagePerWeek" : 12345,
      "nbMaxMessagePerDay" : 12345
    },
    "address" : {
      "address2" : "...",
      "address3" : "...",
      "state" : "...",
      "city" : "...",
      "address4" : "...",
      "address1" : "...",
      "address5" : "...",
      "countryBundle" : "...",
      "zipCode" : "...",
      "country" : { }
    },
    "id" : 12345
  },
  "media" : "EMAIL",
  "priority" : "URGENT",
  "id" : 12345,
  "campaign" : {
    "description" : "...",
    "priority" : "NORMAL",
    "historized" : true,
    "transient" : true,
    "descriptionOrCode" : "...",
    "parentEntityType" : { },
    "code" : "...",
    "appendGeneratedCode" : true,
    "messages" : [ {
      "rejectionReason" : "...",
      "parameters" : [ { }, { } ],
      "subMedia" : "...",
      "templateCode" : "...",
      "status" : "CANCELED",
      "transient" : true,
      "version" : 12345,
      "contact" : { },
      "media" : "SMS",
      "priority" : "SLOW",
      "id" : 12345,
      "campaign" : { }
    }, {
      "rejectionReason" : "...",
      "parameters" : [ { }, { } ],
      "subMedia" : "...",
      "templateCode" : "...",
      "status" : "WAITING",
      "transient" : true,
      "version" : 12345,
      "contact" : { },
      "media" : "VOICE",
      "priority" : "URGENT",
      "id" : 12345,
      "campaign" : { }
    } ],
    "subMedia" : "...",
    "referenceDescription" : "...",
    "codeChanged" : true,
    "auditableFields" : [ {
      "historable" : true,
      "fieldName" : "...",
      "currentState" : { },
      "notified" : true,
      "notfiable" : true,
      "previousState" : { },
      "auditType" : "RENEWAL",
      "historized" : true
    }, {
      "historable" : true,
      "fieldName" : "...",
      "currentState" : { },
      "notified" : true,
      "notfiable" : true,
      "previousState" : { },
      "auditType" : "STATUS",
      "historized" : true
    } ],
    "id" : 12345,
    "parentEntity" : {
      "auditableFields" : [ { }, { } ],
      "description" : "...",
      "version" : 12345,
      "id" : 12345,
      "notified" : true,
      "appendGeneratedCode" : true,
      "auditable" : { },
      "codeChanged" : true,
      "parentEntityType" : { },
      "descriptionAndCode" : "...",
      "descriptionOrCode" : "...",
      "transient" : true,
      "parentEntity" : { },
      "referenceDescription" : "...",
      "historized" : true,
      "referenceCode" : "...",
      "code" : "..."
    },
    "useAnyMedia" : true,
    "notified" : true,
    "media" : "VOICE",
    "status" : "SCHEDULED",
    "scheduleDate" : 12345,
    "startDate" : 12345,
    "auditable" : {
      "updater" : "...",
      "updated" : 12345,
      "creator" : "...",
      "lastUser" : "...",
      "created" : 12345,
      "lastModified" : 12345
    },
    "version" : 12345,
    "processingThreadId" : 12345,
    "descriptionAndCode" : "...",
    "endDate" : 12345,
    "referenceCode" : "..."
  }
}