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

Update Campaign Member

Update the campaign member status or targetCallDate.

PUT /v2/campaigns/{ID}/members/{memberID}

Package

  • Communication (vlocity_cmt)

  • Vlocity Health (vlocity_ins)

  • Insurance (vlocity_ins)

Version

v2

Parameters

Parameter

Description

Optional

Example

campaignId

Campaign ID

Required

701o0000000NnW8

memberId

Campaign member ID

Required

00vo000000K7pBs

Resource Information

Response Format

JSON

Resource URL

/services/apexrest/{namespace}/v2/campaigns/{campaignId}/members/{memberId}

Example Request

PUT
/services/apexrest/vlocity_cmt/v2/campaigns/701o0000000NnW8/members/00vo000000K7pBs
{
   "memberStatus":"Sent",
   "targetCallDate":"2016-09-28 16:59:41"
}

Example result

If member status is changed, the result is the new distribution of member counts by status. If the member status has not changed, the result is the member record with the newest target call date.

{
   "result": {
      "records": [{
         "value": 11,
         "label": "Call Completed",
         "displaySequence": -1,
         "messages": []
      },{
         "value": 9,
         "label": "New",
         "displaySequence": -1,
         "messages": []
      },{
         "value": 2,
         "label": "Responded",
         "displaySequence": -1,
         "messages": []
      },{
         "value": 1,
         "label": "TestChanged",
         "displaySequence": -1,
         "messages": []
      }],
      "messages": [],
      "totalSize": 23
   }
}
 
Loading
Salesforce Help | Article