Ver código fonte

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

master
Patrick Peng Sun 8 anos atrás
pai
commit
4c41488f31
1 arquivos alterados com 2 adições e 0 exclusões
  1. +2
    -0
      crmLead.go

+ 2
- 0
crmLead.go Ver arquivo

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

Carregando…
Cancelar
Salvar