You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: powerapps-docs/developer/common-data-service/webapi/discover-url-organization-web-api.md
+7-14Lines changed: 7 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -38,15 +38,15 @@ In addition to datacenter specific Discovery services, that are available on the
38
38
> For Dynamics 365 US Government users, the global discovery service is available for the **GCC** and **GCC High** users, and the URL is different from the regular global discovery service URL. More information: [Dynamics 365 Government URLs](https://docs.microsoft.com/dynamics365/customer-engagement/admin/government/microsoft-dynamics-365-government#dynamics-365-us-government-urls).
39
39
40
40
41
-
## Information provided by the Discovery service
41
+
## Information provided by the Global Discovery service
42
42
43
-
Organization information is stored in the `Instance` entity of the Discovery service. To see the kind of information contained in that entity, send an HTTP GET request to the service for one of your instances.
43
+
Organization information is stored in the `Instance` entity of the Global Discovery service. To see the kind of information contained in that entity, send an HTTP GET request to the service for one of your instances.
44
44
45
45
```http
46
-
GET https://globaldisco.crm.dynamics.com/api/discovery/v1.0/Instances(UniqueName='myorg')
46
+
GET https://globaldisco.crm.dynamics.com/api/discovery/v2.0/Instances(UniqueName='myorg')
47
47
```
48
48
49
-
In the above example, the global Discovery service of Common Data Service is used to obtain the organization information of the instance with a unique name of "myorg". More details about this request is expanded upon later in this topic.
49
+
In the above example, the Global Discovery service of Common Data Service is used to obtain the organization information of the instance with a unique name of "myorg". More details about this request is expanded upon later in this topic.
50
50
51
51
52
52
@@ -87,28 +87,21 @@ The Discovery service Web API supports the CORS standard for cross-origin access
87
87
- Get the details of a specific instance. If you leave out the GUID, all instances that the authenticated user has access to are returned.
88
88
89
89
```http
90
-
GET https://globaldisco.crm.dynamics.com/api/discovery/v1.0/Instances(<guid>)
91
-
GET https://disco.crm.dynamics.com/api/discovery/v9.0/Instances(<guid>)
90
+
GET https://globaldisco.crm.dynamics.com/api/discovery/v2.0/Instances(<guid>)
92
91
```
93
92
94
93
- You can use the UniqueName attribute as an alternate key.
95
94
96
95
```http
97
-
GET https://globaldisco.crm.dynamics.com/api/discovery/v1.0/Instances(UniqueName='myorg')
96
+
GET https://globaldisco.crm.dynamics.com/api/discovery/v2.0/Instances(UniqueName='myorg')
98
97
```
99
98
100
99
- Retrieve a list of available instances, filtered by production type.
101
100
102
101
```http
103
-
GET https://globaldisco.crm.dynamics.com/api/discovery/v1.0/Instances?$select=DisplayName,Description&$filter=Type+eq+0
102
+
GET https://globaldisco.crm.dynamics.com/api/discovery/v2.0/Instances?$select=DisplayName,Description&$filter=Type+eq+0
104
103
```
105
104
106
-
- Retrieve a specific instance's ID property value.
107
-
108
-
```http
109
-
GET https://disco.crm.dynamics.com/api/discovery/v9.0/Instances(UniqueName='myorg')/Id/$value
110
-
```
111
-
112
105
## See also
113
106
114
107
[Web API Global Discovery Service sample (C#)](samples/global-discovery-service-csharp.md)
0 commit comments