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...
Continue Reading Rick A. Wilson (RAW)’s Article on their blog
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: /api/data/v /EntityDefinitions(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.
Blog Syndicated with Rick A. Wilson (RAW)’s Permission
More About This Author
Array
- Power Apps15 April 2024Harnessing Host Form Data with PCF Controls in Model-Driven Applications
- Power Apps8 March 2024Syncing Azure DevOps Work Item Status to Microsoft Dataverse with Dataflows
- Power Apps6 March 2024Govee and Power Platform: Transforming Smart Lighting Automation
- Power Apps28 February 2024Step-by-Step to Success: Run AutoGPT using Azure OpenAI on Docker