GET THE WEB API URL FOR A DYNAMICS 365 ORGANIZATION

In this quick post, we will see how to get the Web API URL for the Dynamics 365 organization.

  1. Go to Settings > Customizations > Developer Resources
  2. In the Service Root URL, you will find the API URL
    Web API URL 1

  3. You can copy this URL and paste it into a browser to get its result
    Web API URL 2

  4. Based on your needs, you can get and use the WebAPI URL in JavaScript using the following line of code formContext.context.getClientUrl() + "/api/data/v9.2/

Hope This Helps!

Comments

Popular posts from this blog

DISABLE ALL FORM FIELDS IN DYNAMICS 365 USING JAVASCRIPT

DYNAMICS 365 FILTER LOOKUP FIELD BASED ON N:N RELATIONSHIP

DYNAMICS 365 HOW TO REFRESH SUBGRID IN JAVASCRIPT