Skip to content

Commit fd3640f

Browse files
authored
Merge pull request #2228 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to master to sync with https://github.com/MicrosoftDocs/powerapps-docs (branch live)
2 parents 5bf1d1d + 3692dbd commit fd3640f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ In addition to datacenter specific Discovery services, that are available on the
4343
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.
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

4949
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.
@@ -87,20 +87,20 @@ 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>)
90+
GET https://globaldisco.crm.dynamics.com/api/discovery/v2.0/Instances(<guid>)
9191
GET https://disco.crm.dynamics.com/api/discovery/v9.0/Instances(<guid>)
9292
```
9393
9494
- You can use the UniqueName attribute as an alternate key.
9595
9696
```http
97-
GET https://globaldisco.crm.dynamics.com/api/discovery/v1.0/Instances(UniqueName='myorg')
97+
GET https://globaldisco.crm.dynamics.com/api/discovery/v2.0/Instances(UniqueName='myorg')
9898
```
9999
100100
- Retrieve a list of available instances, filtered by production type.
101101
102102
```http
103-
GET https://globaldisco.crm.dynamics.com/api/discovery/v1.0/Instances?$select=DisplayName,Description&$filter=Type+eq+0
103+
GET https://globaldisco.crm.dynamics.com/api/discovery/v2.0/Instances?$select=DisplayName,Description&$filter=Type+eq+0
104104
```
105105
106106
- Retrieve a specific instance's ID property value.

0 commit comments

Comments
 (0)