Message Data Type

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

Example

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