The following is an example of a Campaign and associated Content.
JSON
{
"campaignId": 7919,
"name": "Increase the Minimum Wage",
"campaignType": {
"campaignTypeId": 1312,
"name": "Advocacy"
},
"campaignDisplayName": "Advocacy: Increase the Minimum Wage",
"status": "Active",
"contents": [
{
"contentId": 5328,
"contentType": {
"contentTypeId": 1861,
"name": "Literature"
},
"name": "Pro Minimum Wage",
"shortName": "Pro Wage",
"displayName": "Literature: Pro Minimum Wage",
"description": "This is a lit piece encouraging minimum wage increases",
"disposition": "Positive"
},
{
"contentId": 5329,
"contentType": {
"contentTypeId": 1861,
"name": "Literature"
},
"name": "Anti Minimum Wage",
"shortName": "Anti Wage",
"displayName": "Literature: Anti Minimum Wage",
"description": null,
"disposition": "Negative"
}
]
}
Each Campaign can have the following properties:
Property Type Description campaignIdint Read-only; Unique identifier for a Campaign in this context namestring Name of the Campaign campaignTypeobject Type of Campaign campaignDisplayNamestring The name of the Campaign combined with the Campaign Type statusstring One of Active, Archived, or Inactive contentsarray Array of Contents
Property Type Description campaignTypeIdint Read-only; unique identifier for a Campaign Type in this context namestring Name of the Campaign Type
Contents represent distinct messages delivered as part of a campaign. For example, you may have a Content for each direct mail piece you send.
Property Type Description contentIdint Read-only; unique identifier for a Content in this context contentTypeobject Content Type of this Content namestring Name of this Content shortNamestring A shorter name for this Content displayNamestring The name of the Content combined with the Content Type descriptionstring Description of this content dispositionstring One of Positive or Negative; this indicates whether this particular Content makes a positive or negative argument
Property Type Description contentTypeIdint Read-only; unique identifier for a Content Type in this context namestring Name of this Content Type