| name | data type | constraints | description |
|---|---|---|---|
| auditableFields | array of AuditableFieldHistory | ||
| code | string | required, max size: 255, min size: 1 | |
| id | number | ||
| auditable | Auditable | ||
| messages | array of Message | ||
| scheduleDate | number | ||
| appendGeneratedCode | boolean | ||
| useAnyMedia | boolean | ||
| transient | boolean | ||
| notified | boolean | ||
| parentEntityType | object | ||
| startDate | number | ||
| parentEntity | BusinessEntity | ||
| media | MediaEnum | ||
| descriptionOrCode | string | ||
| historized | boolean | ||
| description | string | max size: 255, min size: 0 | |
| descriptionAndCode | string | ||
| priority | PriorityEnum | ||
| subMedia | string | ||
| referenceCode | string | ||
| referenceDescription | string | ||
| processingThreadId | number | ||
| status | CampaignStatusEnum | ||
| version | number | ||
| codeChanged | boolean | ||
| endDate | number |
Example
{
"auditableFields" : [ {
"previousState" : { },
"currentState" : { },
"auditType" : "STATUS",
"historized" : true,
"fieldName" : "...",
"notified" : true,
"notfiable" : true,
"historable" : true
}, {
"previousState" : { },
"currentState" : { },
"auditType" : "RENEWAL",
"historized" : true,
"fieldName" : "...",
"notified" : true,
"notfiable" : true,
"historable" : true
} ],
"code" : "...",
"id" : 12345,
"auditable" : {
"updater" : "...",
"created" : 12345,
"lastModified" : 12345,
"updated" : 12345,
"lastUser" : "...",
"creator" : "..."
},
"messages" : [ {
"priority" : "SLOW",
"transient" : true,
"version" : 12345,
"rejectionReason" : "...",
"id" : 12345,
"templateCode" : "...",
"contact" : {
"isCompany" : true,
"registrationNo" : "...",
"enterprise" : true,
"legalEntityType" : { },
"addressBook" : { },
"transient" : true,
"contactPolicy" : { },
"contactCategories" : [ { }, { } ],
"websiteUrl" : "...",
"vip" : true,
"historized" : true,
"company" : "...",
"parentEntity" : { },
"assistantName" : "...",
"auditable" : { },
"cfAccumulatedValues" : { },
"address" : { },
"tags" : [ "...", "..." ],
"messages" : [ { }, { } ],
"notified" : true,
"reference" : "...",
"appendGeneratedCode" : true,
"socialIdentifier" : "...",
"comment" : "...",
"referenceCode" : "...",
"auditableFields" : [ { }, { } ],
"code" : "...",
"vatNo" : "...",
"description" : "...",
"descriptionAndCode" : "...",
"cfValues" : { },
"externalRef1" : "...",
"version" : 12345,
"uuid" : "...",
"contactInformation" : { },
"primaryContact" : { },
"descriptionOrCode" : "...",
"jobTitle" : "...",
"referenceDescription" : "...",
"contactInformationNullSafe" : { },
"agreedToUA" : true,
"importedBy" : "...",
"id" : 12345,
"prospect" : true,
"importedFrom" : "...",
"name" : { },
"assistantPhone" : "...",
"externalRef2" : "...",
"codeChanged" : true,
"parentEntityType" : { },
"addressBookContacts" : [ { }, { } ],
"parentCFEntities" : [ { }, { } ],
"position" : "..."
},
"status" : "CANCELED",
"parameters" : [ {
"parentEntityType" : { },
"descriptionAndCode" : "...",
"value" : "...",
"parentEntity" : { },
"notified" : true,
"code" : "...",
"descriptionOrCode" : "...",
"codeChanged" : true,
"id" : 12345,
"transient" : true,
"description" : "...",
"historized" : true,
"version" : 12345,
"message" : { },
"auditable" : { },
"auditableFields" : [ { }, { } ],
"referenceCode" : "...",
"appendGeneratedCode" : true,
"referenceDescription" : "..."
}, {
"parentEntityType" : { },
"descriptionAndCode" : "...",
"value" : "...",
"parentEntity" : { },
"notified" : true,
"code" : "...",
"descriptionOrCode" : "...",
"codeChanged" : true,
"id" : 12345,
"transient" : true,
"description" : "...",
"historized" : true,
"version" : 12345,
"message" : { },
"auditable" : { },
"auditableFields" : [ { }, { } ],
"referenceCode" : "...",
"appendGeneratedCode" : true,
"referenceDescription" : "..."
} ],
"campaign" : {
"auditableFields" : [ { }, { } ],
"code" : "...",
"id" : 12345,
"auditable" : { },
"messages" : [ { }, { } ],
"scheduleDate" : 12345,
"appendGeneratedCode" : true,
"useAnyMedia" : true,
"transient" : true,
"notified" : true,
"parentEntityType" : { },
"startDate" : 12345,
"parentEntity" : { },
"media" : "FTP_FILE",
"descriptionOrCode" : "...",
"historized" : true,
"description" : "...",
"descriptionAndCode" : "...",
"priority" : "SLOW",
"subMedia" : "...",
"referenceCode" : "...",
"referenceDescription" : "...",
"processingThreadId" : 12345,
"status" : "RUNNING",
"version" : 12345,
"codeChanged" : true,
"endDate" : 12345
},
"media" : "SMS",
"subMedia" : "..."
}, {
"priority" : "URGENT",
"transient" : true,
"version" : 12345,
"rejectionReason" : "...",
"id" : 12345,
"templateCode" : "...",
"contact" : {
"isCompany" : true,
"registrationNo" : "...",
"enterprise" : true,
"legalEntityType" : { },
"addressBook" : { },
"transient" : true,
"contactPolicy" : { },
"contactCategories" : [ { }, { } ],
"websiteUrl" : "...",
"vip" : true,
"historized" : true,
"company" : "...",
"parentEntity" : { },
"assistantName" : "...",
"auditable" : { },
"cfAccumulatedValues" : { },
"address" : { },
"tags" : [ "...", "..." ],
"messages" : [ { }, { } ],
"notified" : true,
"reference" : "...",
"appendGeneratedCode" : true,
"socialIdentifier" : "...",
"comment" : "...",
"referenceCode" : "...",
"auditableFields" : [ { }, { } ],
"code" : "...",
"vatNo" : "...",
"description" : "...",
"descriptionAndCode" : "...",
"cfValues" : { },
"externalRef1" : "...",
"version" : 12345,
"uuid" : "...",
"contactInformation" : { },
"primaryContact" : { },
"descriptionOrCode" : "...",
"jobTitle" : "...",
"referenceDescription" : "...",
"contactInformationNullSafe" : { },
"agreedToUA" : true,
"importedBy" : "...",
"id" : 12345,
"prospect" : true,
"importedFrom" : "...",
"name" : { },
"assistantPhone" : "...",
"externalRef2" : "...",
"codeChanged" : true,
"parentEntityType" : { },
"addressBookContacts" : [ { }, { } ],
"parentCFEntities" : [ { }, { } ],
"position" : "..."
},
"status" : "WAITING",
"parameters" : [ {
"parentEntityType" : { },
"descriptionAndCode" : "...",
"value" : "...",
"parentEntity" : { },
"notified" : true,
"code" : "...",
"descriptionOrCode" : "...",
"codeChanged" : true,
"id" : 12345,
"transient" : true,
"description" : "...",
"historized" : true,
"version" : 12345,
"message" : { },
"auditable" : { },
"auditableFields" : [ { }, { } ],
"referenceCode" : "...",
"appendGeneratedCode" : true,
"referenceDescription" : "..."
}, {
"parentEntityType" : { },
"descriptionAndCode" : "...",
"value" : "...",
"parentEntity" : { },
"notified" : true,
"code" : "...",
"descriptionOrCode" : "...",
"codeChanged" : true,
"id" : 12345,
"transient" : true,
"description" : "...",
"historized" : true,
"version" : 12345,
"message" : { },
"auditable" : { },
"auditableFields" : [ { }, { } ],
"referenceCode" : "...",
"appendGeneratedCode" : true,
"referenceDescription" : "..."
} ],
"campaign" : {
"auditableFields" : [ { }, { } ],
"code" : "...",
"id" : 12345,
"auditable" : { },
"messages" : [ { }, { } ],
"scheduleDate" : 12345,
"appendGeneratedCode" : true,
"useAnyMedia" : true,
"transient" : true,
"notified" : true,
"parentEntityType" : { },
"startDate" : 12345,
"parentEntity" : { },
"media" : "CFT_FILE",
"descriptionOrCode" : "...",
"historized" : true,
"description" : "...",
"descriptionAndCode" : "...",
"priority" : "NORMAL",
"subMedia" : "...",
"referenceCode" : "...",
"referenceDescription" : "...",
"processingThreadId" : 12345,
"status" : "SCHEDULED",
"version" : 12345,
"codeChanged" : true,
"endDate" : 12345
},
"media" : "IM",
"subMedia" : "..."
} ],
"scheduleDate" : 12345,
"appendGeneratedCode" : true,
"useAnyMedia" : true,
"transient" : true,
"notified" : true,
"parentEntityType" : { },
"startDate" : 12345,
"parentEntity" : {
"codeChanged" : true,
"historized" : true,
"referenceCode" : "...",
"description" : "...",
"auditable" : {
"updater" : "...",
"created" : 12345,
"lastModified" : 12345,
"updated" : 12345,
"lastUser" : "...",
"creator" : "..."
},
"referenceDescription" : "...",
"auditableFields" : [ {
"previousState" : { },
"currentState" : { },
"auditType" : "OTHER",
"historized" : true,
"fieldName" : "...",
"notified" : true,
"notfiable" : true,
"historable" : true
}, {
"previousState" : { },
"currentState" : { },
"auditType" : "OTHER",
"historized" : true,
"fieldName" : "...",
"notified" : true,
"notfiable" : true,
"historable" : true
} ],
"appendGeneratedCode" : true,
"notified" : true,
"code" : "...",
"parentEntity" : { },
"descriptionAndCode" : "...",
"version" : 12345,
"transient" : true,
"parentEntityType" : { },
"descriptionOrCode" : "...",
"id" : 12345
},
"media" : "FTP_FILE",
"descriptionOrCode" : "...",
"historized" : true,
"description" : "...",
"descriptionAndCode" : "...",
"priority" : "NORMAL",
"subMedia" : "...",
"referenceCode" : "...",
"referenceDescription" : "...",
"processingThreadId" : 12345,
"status" : "RUNNING",
"version" : 12345,
"codeChanged" : true,
"endDate" : 12345
}