To consume a Dynamics 365 for Operations service using JSON, follow these steps:
- First, let's take a look at what JSON looks like; this will help the recipe make more sense as we progress. Open the following URL using Internet Explorer:
https://usnconeboxax1aos.cloud.onebox.dynamics.com/api/services/
- This will ask you to open services.json; click on Open, which opens a file in Visual Studio that contains all the services exposed. The file will contain our service in the following format:
{"ServiceGroups":[{"Name":"ConWHSServices"},{"Name":"CuesServiceGroup"}
Now, open the following URL on Internet Explorer:
https://usnconeboxax1aos.cloud.onebox.dynamics.com/api/services/ConWHSServices
- This time, the JSON file is called ...