Andy is working on a solution in which he needs to populate the fields of an entity into an option set. He wants to load the options set dynamically. To retrieve the fields of a particular entity, you can query the metadata using the web API. All of the attributes of an entity can be retrieved using the metadata query. In this scenario, it is demonstrated how the attributes of a Contact entity can be retrieved using a web API call.
Scenario 3
Retrieving metadata using the web API
Microsoft Dynamics 365 is a metadata-driven application. Sometimes, you need to query the metadata while working with requirements such as those mentioned in this scenario. For this purpose, you can easily query the metadata using the web API. We...