Skip to content

Commit ea74ebb

Browse files
authored
Update discover-url-organization-web-api.md
1 parent e4b3b6b commit ea74ebb

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

powerapps-docs/developer/common-data-service/webapi/discover-url-organization-web-api.md

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ In addition to datacenter specific Discovery services, that are available on the
3838
> 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).
3939
4040

41-
## Information provided by the Discovery service
41+
## Information provided by the Global Discovery service
4242

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.
4444

4545
```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')
4747
```
4848

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.
5050

5151

5252

@@ -87,28 +87,21 @@ The Discovery service Web API supports the CORS standard for cross-origin access
8787
- Get the details of a specific instance. If you leave out the GUID, all instances that the authenticated user has access to are returned.
8888

8989
```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>)
9291
```
9392
9493
- You can use the UniqueName attribute as an alternate key.
9594
9695
```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')
9897
```
9998
10099
- Retrieve a list of available instances, filtered by production type.
101100
102101
```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
104103
```
105104
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-
112105
## See also
113106
114107
[Web API Global Discovery Service sample (C#)](samples/global-discovery-service-csharp.md)

0 commit comments

Comments
 (0)