Loading
Get Started with Communications, Media, and Energy & Utilities (CME)...
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Update Campaign

          Update Campaign

          Given a campaign, a user can update member status, contacts, and content documents associated with the campaign.

          PUT /v1/campaign/{ID}

          Description

          The request supplies the final list of member status in the desired Order, Contacts, and content documents (with primary as specified) at the end of the update.

          Package

          • Communication (vlocity_cmt)

          • Vlocity Health (vlocity_ins)

          • Insurance (vlocity_ins)

          • Government (vlocity_ps)

          Version

          v1

          parameters

          Parameter

          Description

          Optional

          Example

          ID

          Campaign ID

          Required

          701o0000000Za81

          Resource Information

          Response Format

          JSON

          Resource URL

          services/apexrest/{namespace}/v1/campaign/{ID}

          EXAMPLE REQUEST

          POST  
          services/apexrest/vlocity_cmt/v1/campaign/701o0000000Za81
          {
             "customStatus":
             [
                {"statusLabel": "New",
                   "isDefault": true,
                   "hasResponded": false}
                {"statusLabel": "Call Completed",
                   "isDefault": false,
                   "hasResponded": false},
                {"statusLabel": "Responded",
                   "isDefault": false,
                   "hasResponded": false}
                ],
                "contactIds":
          [
                   "003o00000069JvQ",
                   "003o000000IP9lr",
                   "003o000000IP9ls"
                ],
                "contents": {
                   "068o00000011kkrAAA": true,
                   "068o00000011kksAAA": false
                }
          }
           
          Loading
          Salesforce Help | Article