Fetch A Campaign

get

/rest/api/v1.3/campaigns/{campaignName}

Use this interface to get an existing EMD Email campaign object. The response returns the campaign object, which includes the campaign ID and the campaign's other properties. The links array contains the campaign object's related API operations, specific to the campaign name where applicable.

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : Campaign
Type: object
Title: Campaign
Show Source
Nested Schema : attachmentPaths
Type: array
Attachments for the campaign.
Show Source
Nested Schema : campaignVariables
Type: object
Additional Properties Allowed
Show Source
Map of Name and value of campaign variables which are used as default values for text replacement.
Nested Schema : externalTrackingParams
Type: object
Additional Properties Allowed
Show Source
Map of Name and value of external tracking parameters.
Nested Schema : filterPaths
Type: array
Paths of filter to be used for this campaign. This can be used to select a group of customers to receive specific messages. Either standard filter or SQL View can be specified.
Show Source
Nested Schema : segmentPaths
Type: array
Segmentations are used to divide a list into segments using attributes of a profile extension table or profile list.
Show Source
Nested Schema : supplementaryCampaignDataSourcePaths
Type: array
Supplementary data sources can be used for inclusions or exclusions of the audience.
Show Source
Nested Schema : supplementaryProofDataSourcePaths
Type: array
Supplementary proof data sources can be used for inclusions or exclusions from proof list.
Show Source
Nested Schema : supplementarySeedDataSourcePaths
Type: array
Supplementary seed data sources can be used for inclusions or exclusions from seed list.
Show Source
Nested Schema : suppressionListPaths
Type: array
This is used to exclude recipients from data sources.
Show Source
Back to Top

Examples

Use this interface to get an existing EMD Email campaign object.

Required request headers:

FIELDS DESCRIPTION
Authorization <AUTH_TOKEN>
Content-Type application/json

Sample Request URL:

 /rest/api/v1.3/campaigns/example_campaign
	

Sample Response

{
  "id": 1040,
  "name": "example_campaign",
  "folderName": "Folder1",
  "type": "EMAIL",
  "purpose": "PROMOTIONAL",
  "listName": "MasterList",
  "htmlMessagePath": "/messagelibrary/email/1040/Message.htm",
  "textMessagePath": "/messagelibrary/email/1040/Message.itl.txt",
  "enableLinkTracking": false,
  "attachmentPaths": [
    "/contentlibrary/example/docs/my.htm"
  ],
  "enableExternalTracking": false,
  "subject": "EMD Camp",
  "fromName": "api.user",
  "fromEmail": "api.user@responsys.com",
  "replyToEmail": "api.user@responsys.com",
  "useUTF8": false,
  "locale": "en",
  "trackHTMLOpens": true,
  "trackConversions": false,
  "sendTextIfHTMLUnknown": false,
  "unsubscribeOption": "OPTOUT_SINGLE_CLICK",
  "autoCloseOption": "AUTO_CLOSE_X_DAYS_AFTER_LAST_RESPONSE",
  "autoCloseValue": "180",
  "links": [
    {
      "rel": "self",
      "href": "/rest/api/v1.3/campaigns/EMD Camp1",
      "method": "GET"
    },
    {
      "rel": "update",
      "href": "/rest/api/v1.3/campaigns/EMD Camp1",
      "method": "PUT"
    },
    {
      "rel": "create",
      "href": "/rest/api/v1.3/campaigns",
      "method": "POST"
    }
  ]
}
Back to Top