The following is an example of a Campaign and associated Content.
{
"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"
}
]
}
Campaign
Each Campaign can have the following properties:
Property | Type | Description |
---|---|---|
| int | Read-only; Unique identifier for a Campaign in this context |
| string | Name of the Campaign |
| object | Type of Campaign |
| string | The name of the Campaign combined with the Campaign Type |
| string | One of |
| array | Array of Contents |
Campaign Type
Property | Type | Description |
---|---|---|
| int | Read-only; unique identifier for a Campaign Type in this context |
| string | Name of the Campaign Type |
Contents
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 |
---|---|---|
| int | Read-only; unique identifier for a Content in this context |
| object | Content Type of this Content |
| string | Name of this Content |
| string | A shorter name for this Content |
| string | The name of the Content combined with the Content Type |
| string | Description of this content |
| string | One of |
Content Type
Property | Type | Description |
---|---|---|
| int | Read-only; unique identifier for a Content Type in this context |
| string | Name of this Content Type |