diff --git a/crmEntity.go b/crmEntity.go index d6c41da..3504eaa 100644 --- a/crmEntity.go +++ b/crmEntity.go @@ -79,8 +79,14 @@ func crmJSON2Entity(entityType string, data string) (r interface{}, err error) { e := crmdLead{} err = json.Unmarshal([]byte(data), &e) r = e - case "Account": - //r = crmdAccount{} + case "Livecast": + e := crmdLiveCast{} + err = json.Unmarshal([]byte(data), &e) + r = e + case "Meeting": + e := crmdMeeting{} + err = json.Unmarshal([]byte(data), &e) + r = e case "Location": e := crmdLocation{} err = json.Unmarshal([]byte(data), &e)