To consume an F&O service using JSON, follow these steps:
- 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 that were exposed. The file will contain our service in the following format:
{"ServiceGroups":[ ... {"Name":"ConVMSServices"},{"Name":"CuesServiceGroup"}, etc.
Now, open the following URL in Internet Explorer: https://usnconeboxax1aos.cloud.onebox.dynamics.com/api/services/ConVMSServices.
- This time, the JSON file is called CONWHSServices.json ...