Skip to content

Commit 7d2397c

Browse files
authored
Updated the global discovery service version
1 parent fd3640f commit 7d2397c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

powerapps-docs/developer/common-data-service/webapi/samples/global-discovery-service-csharp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ The sample depends on the `GetInstances` method and the `Instance` class below:
6060
client.Timeout = new TimeSpan(0, 2, 0);
6161
client.BaseAddress = new Uri(GlobalDiscoUrl);
6262

63-
HttpResponseMessage response = client.GetAsync("api/discovery/v1.0/Instances", HttpCompletionOption.ResponseHeadersRead).Result;
63+
HttpResponseMessage response = client.GetAsync("api/discovery/v2.0/Instances", HttpCompletionOption.ResponseHeadersRead).Result;
6464

6565

6666
if (response.IsSuccessStatusCode)

0 commit comments

Comments
 (0)