Loading
Prepare for Email to Become the Default Login ExperienceRead More
Get Started with Communications, Media, and Energy & Utilities (CME)...
Get Campaign

Get Campaign

Given the content document and the owner, return a list of campaign IDs and campaign names that already have content documents attached.

GET /v1/campaign/campaigns?contentId={content_ID}&ownerId={owner_ID}

Package

  • Communication (vlocity_cmt)

  • Vlocity Health (vlocity_ins)

  • Insurance (vlocity_ins)

  • Government (vlocity_ps)

Parameters

Parameter

Description

Optional

Example

contentId

Content version ID

Required

068o00000011kkrAAA

ownerId

Owner ID

Required

005o0000000wA9zAAE

Resource information

Response Format

JSON

Resource URL

services/apexrest/{namespace}/v1/campaign/campaigns/contentId={content_ID}&ownerId={owner_ID}

EXAMPLE REQUEST

GET  
/services/apexrest/vlocity_cmt/v1/campaign/campaigns?contentId=068o00000011kkrAAA&ownerId=005o0000000wA9zAAE

EXAMPLE RESULT

701o0000000ZYwkAAG: Test Rest API in Workbench1
 
Loading
Salesforce Help | Article