You are here:
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
}
}

