Hello All,
We are hoping to get some details on managing DataCard set through REST APIs. Our implementation goal is to create Contacts and add Custom object for each Contact, or to be precise, add a DataCard Set for each Contact.
At the moment, to associate a DataCard Set (or Custom Object) to an existing contact, we are supplying following custom object fields during creation of Custom Object:
new CustomObjectField { name = "MappedEntityType", dataType = Enum.GetName(typeof(DataType), DataType.numeric), type = "CustomObjectField", defaultValue = "0" }, new CustomObjectField { name = "MappedEntityID", dataType = Enum.GetName(typeof(DataType), DataType.numeric), type = "CustomObjectField", defaultValue = "<ContactId>" }
Is this the correct approach? This is Based on the information provided here: http://topliners.eloqua.com/community/code_it/blog/2012/05/31/eloqua-api-how-to-mapping-a-data-card-to-an-entity.
Would the REST API allow us to query the CustomObjects using the MappedEntityId value for later updates? If so, any pointers on how we approach that?
Thanks in ad.