From 4c41488f3142c4fc93705adbe46ab9c495ce8c73 Mon Sep 17 00:00:00 2001 From: Patrick Peng Sun Date: Fri, 30 Jun 2017 15:45:14 +1000 Subject: [PATCH] if we can to create duplicate, we can use force duplicate. --- crmLead.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crmLead.go b/crmLead.go index abb15db..3d04372 100644 --- a/crmLead.go +++ b/crmLead.go @@ -60,6 +60,8 @@ type crmdLead struct { CreatedAccountID string `json:"createdAccountId,omitempty"` CreatedContactID string `json:"createdContactId,omitempty"` CreatedOpportunityID string `json:"createdOpportunityId,omitempty"` + + ForceDuplicate bool `json:"forceDuplicate,omitempty"` //when purposely creating duplicated record, we need to set this to true } type crmdSearchLead struct {