Breaking news from around the world
Get the Bing + MSN extension
Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, Power Apps, Power Automate, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates and new features to Dynamics 365 planned through March 2020
Release overview guides and videos Release Plan | View virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming TechTalks
Hi,I am trying to update Lookup attributes of a quote via the Web API.I understand that in case of custom objects I need to use the camelcase notation, while in case of system should use lowercase.But how can I distinguish between system lookups that come from dynamics library (like msdyn_account) and those that are "real custom"?To get the attributes info (of a quote, for example), I am calling /api/data/v9.0/EntityDefinitions(LogicalName='quote')?expand=AttributesIn the case of my custom attributes and those coming from msdyn_* package I am getting IsCustomAttribute: trueSo how can I tell?Thanks,Roy
Are you sure that you need to use CamelCase for custom lookups? I think this was true for old rest endpoints but with web api you need to use all lower case. I did a quick try and the lookup field schema I see is all lower case-
Hope this helps.
Use name(Logical Name) always for web API.
Thanks for the reply.
Maybe I should emphasize that I am setting a Lookup value.
Here is the field I am trying to set:
I tested via Postman, when I try to update using camel case it works properly:
Response is HTTP/1.1 204 No Content
Your error means that there is no field with a Logical name of "new_contactquote" in contact,
Use the Solution of CRM Rest Builder it will help you a lot, it'll build your request and you may even test before add it to your JS Scirpt.
Here's a link, add it to your CRM Organization and Use it to build ur O-DATA requests.
Business Applications communities