You need to sign in to do that
Don't have an account?
CRMfusion - GW
Upsert a CampaignMember
Previous to API version 16 you could use the Insert call to create OR update a campaign member. It acted as an Upsert call.
With API 16 Upsert is supported on CampainMembers but I can't seem to get it to work. The documentations is vague about this issue.
Is there a way to do a single call Upsert on CampainMembers so that the call works the same way as the old Insert call?
Thanks;
GlennW
You have a couple of options:
1) Use v15.0 or below for the old behavior
2) Use CampaignMemberID as the key for upsert in 16.0+
If Lead or Contact ID are present in an upsert call for 16.0+, upsert will fail. It's a bit funky, but lets customers fail dirty data if desired.