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