Use Dynamics WebAPI to get LogicalName or ObjectTypeCode for Entity
Use Dynamics WebAPI to get LogicalName or ObjectTypeCode for Entity
If you need to get the LogicalName or ObjectTypeCode of an entity in your Dynamics environment you can utilize the WebAPI to get the metadata.
If you have the LogicalName of the entity you can use this url.
Format:
<Dynamics Url>/api/data/v<Version>/EntityDefinitions(LogicalName='<LogicalName>')?$select=ObjectTypeCode
Example:
https://org12345.crm.dynamics.com/api/data/v9.0/EntityDefinitions(LogicalName='account')?$select=ObjectTypeCode
Data Returned:
{"@odata.context":"https://org6744e6cd.crm.dynamics.com/api/data/v9.0/$metadata#EntityDefinitions(ObjectTypeCode)/$entity","ObjectTypeCode":1,"MetadataId":"70816501-edb9-4740-a16c-6a5efbc05d84"}
If you have the ObjectTypeCode of the entity you can use this url.
Format:
<Dynamics Url>/api/data/v<Version>/EntityDefinitions?$filter=ObjectTypeCode eq <ObjectTypeCode>&$select=LogicalName
Example:
https://org12345.crm.dynamics.com/api/data/v9.0/EntityDefinitions?$filter=ObjectTypeCode eq 1&$select=LogicalName
Data Returned:
{"@odata.context":"https://org6744e6cd.crm.dynamics.com/api/data/v9.0/$metadata#EntityDefinitions(LogicalName)","value":[{"LogicalName":"account","MetadataId":"70816501-edb9-4740-a16c-6a5efbc05d84"}]}
Awesome post with lots of data and I have bookmarked this page for my reference. Share more ideas frequently.
ReplyDeleteSalesforce Training in Chennai
best salesforce training in chennai
salesforce admininstrator training in chennai
Salesforce crm Training in Chennai
AngularJS Training in Chennai
ccna course in Chennai
React JS Training in Chennai
Tally course in Chennai
Salesforce Certification Training in Chennai
Web Designing course in Chennai
Awesome blog, very informative content... Thanks for sharing waiting for next update...
ReplyDeleteArtificial Intelligence Course in Chennai
artificial intelligence course in bangalore
ai classes in chennai
best artificial intelligence training in chennai
AI training in t nagar
C C++ Training in Chennai
javascript training in chennai
Html5 Training in Chennai
This blog is very interesting and powerful content. I got more important information and it's very useful for improve my knowledge. share more
ReplyDeleteAi & Artificial Intelligence Course in Chennai
PHP Training in Chennai
Ethical Hacking Course in Chennai Blue Prism Training in Chennai
UiPath Training in Chennai
valuable blog,Informative content...thanks for sharing, Waiting for the next update…
ReplyDeleteStudy Abroad Consultants in Kerala
study abroad consultants in thrissur
Study Abroad Consultants in Calicut
abroad job consultancy in coimbatore
abroad job consultancy in calicut
abroad job recruitment agencies in calicut
study abroad
study in poland
study in europe
education in germany
Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
ReplyDeleteCyber Security Training Course in Chennai | Certification | Cyber Security Online Training Course | Ethical Hacking Training Course in Chennai | Certification | Ethical Hacking Online Training Course | CCNA Training Course in Chennai | Certification | CCNA Online Training Course | RPA Robotic Process Automation Training Course in Chennai | Certification | RPA Training Course Chennai | SEO Training in Chennai | Certification | SEO Online Training Course
ReplyDeleteit is really a great and helpful piece of info. I am glad that you shared this helpful information with us. Please keep us informed like this. Thank you for sharing.
malaysian embassy singapore
My Assignment Help Now is a valuable source of getting experts’ help for academic papers. Connecting with the well-qualified professionals helps you to score top grades. Students who have no ideas about how to start their papers, they can search for our superior assignment help service to compose their documents.
ReplyDeleteAssignment Help
This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free.
ReplyDeleteWebsite: Matka Charts
Play fantasy cricket on India's no.1 App and get a chance to win up to 50 lakhs in every match. Download the app now!
ReplyDeleteThanks for the information. You have discussed an interesting topic that everybody should know. Keep posting these kind of posts.
ReplyDeleteClick here: artificial jewellery
Thanks for sharing this piece of information. I really enjoyed it. keep up the good work and all the very best of luck! I like this post
ReplyDeleteWebsite :- Gas and Electric Geyser near me
Thanks for sharing this information. I have shared this link with others keep posting such information.
ReplyDeleteWebsite house for sale in jaipur
Thank you for sharing such a useful post. Very Interesting Post! I regularly follow this kind of Blog.
ReplyDeleteCCC Online Test
what is depth strider in minecraft
ReplyDeletewhat does quick charge do in minecraft
what does the enchantment piercing do
what does impaling do in minecraft
what does bane of arthropods do in minecraft
what does smite do in mincraft