Expose a CRM Entity to Make API Calls in Dynamics 365 Portal | CloudFronts

Expose a CRM Entity to Make API Calls in Dynamics 365 Portal

Sometimes we may get scenario wherein we have to make API calls to an entity from dynamics 365 Portals, so here is my blog that will guide you step by step to how to achieve the same.

  1. In CRM navigate to dynamics 365 Portals as shown below.
  2. Click on entity list as shown below
  3. Click on new as shown below.
  4. Enter name in the name field.
  5. Select the entity to which you have to make API request.
  6. Select website.
  7. Click on add view and select view.
  8. Click on save and save the record.
  9. Now click on OData Tab
  10. Select Enabled.
  11. Select Enabled.
  12. Now Select view (Note: Only the fields in the view will be exposed to the API).
  13. To access API use https://domain/_odata/GetAccountsData
  14. By accession above URL in browser you will be able to reterive data from Account entity.

Share Story :

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.