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

Posted On March 5, 2020 by Admin Posted in  Tagged in

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 :

SEARCH BLOGS :

FOLLOW CLOUDFRONTS BLOG :


Secured By miniOrange