Parcourir la source

if we can to create duplicate, we can use force duplicate.

master
Patrick Peng Sun il y a 8 ans
Parent
révision
4c41488f31
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. +2
    -0
      crmLead.go

+ 2
- 0
crmLead.go Voir le fichier

@@ -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 {

Chargement…
Annuler
Enregistrer