Campaign Data Type

Implemented Interfaces
IReferenceEntity, Serializable
Properties
name data type constraints description
referenceDescription string  
codeChanged boolean  
historized boolean  
status CampaignStatusEnum  
startDate number  
endDate number  
useAnyMedia boolean  
description string max size: 255, min size: 0
auditableFields array of AuditableFieldHistory  
messages array of Message  
auditable Auditable  
referenceCode string  
processingThreadId number  
scheduleDate number  
descriptionOrCode string  
parentEntity BusinessEntity  
priority PriorityEnum  
transient boolean  
parentEntityType object  
subMedia string  
appendGeneratedCode boolean  
media MediaEnum  
notified boolean  
id number  
code string required, max size: 255, min size: 1
descriptionAndCode string  
version number  

Example

{
  "referenceDescription" : "...",
  "codeChanged" : true,
  "historized" : true,
  "status" : "PAUSED",
  "startDate" : 12345,
  "endDate" : 12345,
  "useAnyMedia" : true,
  "description" : "...",
  "auditableFields" : [ {
    "fieldName" : "...",
    "notfiable" : true,
    "auditType" : "RENEWAL",
    "historized" : true,
    "previousState" : { },
    "currentState" : { },
    "historable" : true,
    "notified" : true
  }, {
    "fieldName" : "...",
    "notfiable" : true,
    "auditType" : "OTHER",
    "historized" : true,
    "previousState" : { },
    "currentState" : { },
    "historable" : true,
    "notified" : true
  } ],
  "messages" : [ {
    "id" : 12345,
    "contact" : {
      "uuid" : "...",
      "appendGeneratedCode" : true,
      "jobTitle" : "...",
      "referenceCode" : "...",
      "websiteUrl" : "...",
      "addressBook" : { },
      "version" : 12345,
      "contactPolicy" : { },
      "agreedToUA" : true,
      "externalRef2" : "...",
      "code" : "...",
      "company" : "...",
      "cfAccumulatedValues" : { },
      "contactInformation" : { },
      "externalRef1" : "...",
      "contactInformationNullSafe" : { },
      "referenceDescription" : "...",
      "codeChanged" : true,
      "contactCategories" : [ { }, { } ],
      "notified" : true,
      "historized" : true,
      "description" : "...",
      "position" : "...",
      "assistantName" : "...",
      "auditableFields" : [ { }, { } ],
      "address" : { },
      "isCompany" : true,
      "assistantPhone" : "...",
      "primaryContact" : { },
      "tags" : [ "...", "..." ],
      "prospect" : true,
      "parentEntityType" : { },
      "name" : { },
      "vatNo" : "...",
      "addressBookContacts" : [ { }, { } ],
      "importedBy" : "...",
      "enterprise" : true,
      "id" : 12345,
      "auditable" : { },
      "descriptionOrCode" : "...",
      "messages" : [ { }, { } ],
      "vip" : true,
      "parentCFEntities" : [ { }, { } ],
      "importedFrom" : "...",
      "descriptionAndCode" : "...",
      "cfValues" : { },
      "comment" : "...",
      "transient" : true,
      "parentEntity" : { },
      "reference" : "...",
      "socialIdentifier" : "...",
      "legalEntityType" : { },
      "registrationNo" : "..."
    },
    "version" : 12345,
    "media" : "DATABASE",
    "priority" : "NORMAL",
    "status" : "WAITING",
    "subMedia" : "...",
    "rejectionReason" : "...",
    "transient" : true,
    "parameters" : [ {
      "message" : { },
      "auditableFields" : [ { }, { } ],
      "referenceCode" : "...",
      "historized" : true,
      "code" : "...",
      "descriptionAndCode" : "...",
      "descriptionOrCode" : "...",
      "version" : 12345,
      "description" : "...",
      "value" : "...",
      "parentEntityType" : { },
      "id" : 12345,
      "notified" : true,
      "referenceDescription" : "...",
      "transient" : true,
      "auditable" : { },
      "appendGeneratedCode" : true,
      "parentEntity" : { },
      "codeChanged" : true
    }, {
      "message" : { },
      "auditableFields" : [ { }, { } ],
      "referenceCode" : "...",
      "historized" : true,
      "code" : "...",
      "descriptionAndCode" : "...",
      "descriptionOrCode" : "...",
      "version" : 12345,
      "description" : "...",
      "value" : "...",
      "parentEntityType" : { },
      "id" : 12345,
      "notified" : true,
      "referenceDescription" : "...",
      "transient" : true,
      "auditable" : { },
      "appendGeneratedCode" : true,
      "parentEntity" : { },
      "codeChanged" : true
    } ],
    "campaign" : {
      "referenceDescription" : "...",
      "codeChanged" : true,
      "historized" : true,
      "status" : "CANCELED",
      "startDate" : 12345,
      "endDate" : 12345,
      "useAnyMedia" : true,
      "description" : "...",
      "auditableFields" : [ { }, { } ],
      "messages" : [ { }, { } ],
      "auditable" : { },
      "referenceCode" : "...",
      "processingThreadId" : 12345,
      "scheduleDate" : 12345,
      "descriptionOrCode" : "...",
      "parentEntity" : { },
      "priority" : "NORMAL",
      "transient" : true,
      "parentEntityType" : { },
      "subMedia" : "...",
      "appendGeneratedCode" : true,
      "media" : "FAX",
      "notified" : true,
      "id" : 12345,
      "code" : "...",
      "descriptionAndCode" : "...",
      "version" : 12345
    },
    "templateCode" : "..."
  }, {
    "id" : 12345,
    "contact" : {
      "uuid" : "...",
      "appendGeneratedCode" : true,
      "jobTitle" : "...",
      "referenceCode" : "...",
      "websiteUrl" : "...",
      "addressBook" : { },
      "version" : 12345,
      "contactPolicy" : { },
      "agreedToUA" : true,
      "externalRef2" : "...",
      "code" : "...",
      "company" : "...",
      "cfAccumulatedValues" : { },
      "contactInformation" : { },
      "externalRef1" : "...",
      "contactInformationNullSafe" : { },
      "referenceDescription" : "...",
      "codeChanged" : true,
      "contactCategories" : [ { }, { } ],
      "notified" : true,
      "historized" : true,
      "description" : "...",
      "position" : "...",
      "assistantName" : "...",
      "auditableFields" : [ { }, { } ],
      "address" : { },
      "isCompany" : true,
      "assistantPhone" : "...",
      "primaryContact" : { },
      "tags" : [ "...", "..." ],
      "prospect" : true,
      "parentEntityType" : { },
      "name" : { },
      "vatNo" : "...",
      "addressBookContacts" : [ { }, { } ],
      "importedBy" : "...",
      "enterprise" : true,
      "id" : 12345,
      "auditable" : { },
      "descriptionOrCode" : "...",
      "messages" : [ { }, { } ],
      "vip" : true,
      "parentCFEntities" : [ { }, { } ],
      "importedFrom" : "...",
      "descriptionAndCode" : "...",
      "cfValues" : { },
      "comment" : "...",
      "transient" : true,
      "parentEntity" : { },
      "reference" : "...",
      "socialIdentifier" : "...",
      "legalEntityType" : { },
      "registrationNo" : "..."
    },
    "version" : 12345,
    "media" : "SMS",
    "priority" : "URGENT",
    "status" : "REJECTED",
    "subMedia" : "...",
    "rejectionReason" : "...",
    "transient" : true,
    "parameters" : [ {
      "message" : { },
      "auditableFields" : [ { }, { } ],
      "referenceCode" : "...",
      "historized" : true,
      "code" : "...",
      "descriptionAndCode" : "...",
      "descriptionOrCode" : "...",
      "version" : 12345,
      "description" : "...",
      "value" : "...",
      "parentEntityType" : { },
      "id" : 12345,
      "notified" : true,
      "referenceDescription" : "...",
      "transient" : true,
      "auditable" : { },
      "appendGeneratedCode" : true,
      "parentEntity" : { },
      "codeChanged" : true
    }, {
      "message" : { },
      "auditableFields" : [ { }, { } ],
      "referenceCode" : "...",
      "historized" : true,
      "code" : "...",
      "descriptionAndCode" : "...",
      "descriptionOrCode" : "...",
      "version" : 12345,
      "description" : "...",
      "value" : "...",
      "parentEntityType" : { },
      "id" : 12345,
      "notified" : true,
      "referenceDescription" : "...",
      "transient" : true,
      "auditable" : { },
      "appendGeneratedCode" : true,
      "parentEntity" : { },
      "codeChanged" : true
    } ],
    "campaign" : {
      "referenceDescription" : "...",
      "codeChanged" : true,
      "historized" : true,
      "status" : "RUNNING",
      "startDate" : 12345,
      "endDate" : 12345,
      "useAnyMedia" : true,
      "description" : "...",
      "auditableFields" : [ { }, { } ],
      "messages" : [ { }, { } ],
      "auditable" : { },
      "referenceCode" : "...",
      "processingThreadId" : 12345,
      "scheduleDate" : 12345,
      "descriptionOrCode" : "...",
      "parentEntity" : { },
      "priority" : "URGENT",
      "transient" : true,
      "parentEntityType" : { },
      "subMedia" : "...",
      "appendGeneratedCode" : true,
      "media" : "EMAIL",
      "notified" : true,
      "id" : 12345,
      "code" : "...",
      "descriptionAndCode" : "...",
      "version" : 12345
    },
    "templateCode" : "..."
  } ],
  "auditable" : {
    "created" : 12345,
    "creator" : "...",
    "lastUser" : "...",
    "updater" : "...",
    "updated" : 12345,
    "lastModified" : 12345
  },
  "referenceCode" : "...",
  "processingThreadId" : 12345,
  "scheduleDate" : 12345,
  "descriptionOrCode" : "...",
  "parentEntity" : {
    "referenceDescription" : "...",
    "auditableFields" : [ {
      "fieldName" : "...",
      "notfiable" : true,
      "auditType" : "OTHER",
      "historized" : true,
      "previousState" : { },
      "currentState" : { },
      "historable" : true,
      "notified" : true
    }, {
      "fieldName" : "...",
      "notfiable" : true,
      "auditType" : "OTHER",
      "historized" : true,
      "previousState" : { },
      "currentState" : { },
      "historable" : true,
      "notified" : true
    } ],
    "parentEntity" : { },
    "codeChanged" : true,
    "description" : "...",
    "auditable" : {
      "created" : 12345,
      "creator" : "...",
      "lastUser" : "...",
      "updater" : "...",
      "updated" : 12345,
      "lastModified" : 12345
    },
    "transient" : true,
    "referenceCode" : "...",
    "version" : 12345,
    "code" : "...",
    "parentEntityType" : { },
    "id" : 12345,
    "notified" : true,
    "appendGeneratedCode" : true,
    "descriptionAndCode" : "...",
    "historized" : true,
    "descriptionOrCode" : "..."
  },
  "priority" : "URGENT",
  "transient" : true,
  "parentEntityType" : { },
  "subMedia" : "...",
  "appendGeneratedCode" : true,
  "media" : "FAX",
  "notified" : true,
  "id" : 12345,
  "code" : "...",
  "descriptionAndCode" : "...",
  "version" : 12345
}