الأربعاء، 6 سبتمبر 2017

Dynamics 365: How to get Entity Definition for specific entity to use in Web API

To get the Entity Definition for specific entity to use in Web API set the following in URL in browser :
[Organization URI]/api/data/v8.2/EntityDefinitions?$select=DisplayName,EntitySetName&$filter=SchemaName eq 'your_entity_SchemaName'

then use entity set name as Entity Definition as below example:




(Note:Example of SchemaName for entity logical name 'productpricelevel' = 'ProductPriceLevel' )

Ex:https://bbbb.crm4.dynamics.com/api/data/v8.2/EntityDefinitions?$select=DisplayName,EntitySetName&$filter=SchemaName eq 'UoM'

هناك تعليق واحد: