Pārlūkot izejas kodu

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

master
Patrick Peng Sun pirms 8 gadiem
vecāks
revīzija
4c41488f31
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. +2
    -0
      crmLead.go

+ 2
- 0
crmLead.go Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt