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
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ In addition to datacenter specific Discovery services, that are available on the
43
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.
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
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.
@@ -87,20 +87,20 @@ 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>)
90
+
GET https://globaldisco.crm.dynamics.com/api/discovery/v2.0/Instances(<guid>)
91
91
GET https://disco.crm.dynamics.com/api/discovery/v9.0/Instances(<guid>)
92
92
```
93
93
94
94
- You can use the UniqueName attribute as an alternate key.
95
95
96
96
```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')
98
98
```
99
99
100
100
- Retrieve a list of available instances, filtered by production type.
101
101
102
102
```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
104
104
```
105
105
106
106
- Retrieve a specific instance's ID property value.
0 commit comments