I got it to work. The fields really have to be unique as it is case sensitive. Comments here and also this blog, really helped. inogic.com/.../set-values-of-all-data-types-using-web-api-in-dynamics-crm Step 1 : Goto Cutomization Developer Resource. Step 2 : Click to “Download Odata Metadata” link and Download the same. Step 3 : Once Download, open it and find out name of lookup attribute ( i.e. “new_qualifiedleadid”) and check its casing. Step 4 : Verify it with the value which you are setting in the code it should be same. While my column was "col_contactid", CRM renames the Navigational Column to be what was above "col_ContactId". I also used Postman(google chrome) plugin and added the following Header to my Post. webClient.Headers.Add("Prefer", "odata.include-annotations=*");
↧