Added
Added ability to Apply Activist Codes without creating Contact History
over 4 years ago by Engineering Team
The /people/{vanId}/canvassResponses (or /people/{personIdType}:{personId}/canvassResponses ) endpoint is your go-to for applying Activist Codes to people. You can now use this endpoint to assign an Activist Code without creating a corresponding Contact History record by setting omitActivistCodeContactHistory on the optional canvassContext property to true. This will work as long as all responses in the response array are of type ActivistCode.
{
"canvassContext": {
"omitActivistCodeContactHistory": true
},
"responses": [
{
"type": "ActivistCode",
"action": "Apply",
"activistCodeId": 123456
},
{
"type": "ActivistCode",
"action": "Apply",
"activistCodeId": 543221
}
]
}