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