Hi,
There is Server Root URL that I use to perform CRUD operation in CRM usign WebAPI concept. But today I face problem where I was trying to perform select query in On Primise Account(v8.2).
I use this query to perform any type of transactions:
var serverUrl = location.protocol + "//" + location.host;
var req = new XMLHttpRequest();
req.open("GET", serverUrl + "/api/data/v8.0/" + Query, false);
Above way was working fine but today I have found issue while testing in On Primise Account. Above URL didn't work.
Difference I have seen in Settings --> Customize --> Developer Resource
1- On Primise having Organization name and Server Root URL was like: https://internalcrm.abc.net:333/MyOrganization/api/data/v8.2/
Online doesn't have such Organization name and Server Root URL was like: https://bondltd.api.crm.dynamics.com/api/data/v8.2/
I have tried to use Server Root URL of OnLine. It was working but Server Root URL of On Primise but it didn't give me any data.
Can anybody please suggest me what ServerURL I should pass to perform operation in CRM On Primize?
Please let me know if any one required more information.
*This post is locked for comments
I have the same question (0)