Hi Everyone
I've started experimenting with WEBAPI to update CRM entities. So far I've been able to create new records without issue.
But I've now hit a snag when it comes to changing an entity lookup field from one value to another. We are using the Newtonsoft.Json class to build our object. Our instruction set looks like this.
_crmEntityJSON = new JObject();
_crmEntityJSON.Add("jp_contactmanagerid@odata.bind", "/contacts(7E6B14FC-A08B-E611-80C2-00155D342408)");
I've tried many differing variations on this, without any success. I suspect I'm building this instruction incorrectly, but haven't found an example to compare with. Does anybody have a simple update entity reference method to illustrate the correct syntax?
Steve