Skip to content

Commit 9f1b359

Browse files
authored
Update discovery-orgsdk-to-webapi.md
Feedback
1 parent 252bd2b commit 9f1b359

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

powerapps-docs/developer/common-data-service/discovery-orgsdk-to-webapi.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# Modify existing code to use Global Discovery Web API
1+
# Modify existing code to use Discovery Web API
22

33
The Discovery Service Web API can be used to discover instances for your users. If you currently use Organization Service SDK to discover your instances, you can follow the steps in this document to start consuming the Web API.
44
A detailed description of the Web API can be found on the [Discovery Service Web API](/powerapps/developer/common-data-service/webapi/discover-url-organization-web-api) page.
55

6-
If you currently use the Web API, it is recommended that you make sure to point to the Global Discovery service endpoint (https://globaldisco.crm.dynamics.com) of the Discovery service.
6+
If you currently use the Web API, it is recommended that you make sure to point to the global Discovery service endpoint (https://globaldisco.crm.dynamics.com) of the Discovery service.
77
The rest of this document describes the changes that might be needed to use the Web API
88

99
## Authentication
1010
The Discovery Service Web API supports authentication with OAuth 2.0 access tokens.
11-
If your code uses WS-Trust SAML tokens, you will need to change code acquire OAuth 2.0 token from Azure AD, and pass it to the Global Discovery Service Web API call.
11+
If your code uses WS-Trust SAML tokens, you will need to change code acquire OAuth 2.0 token from Azure AD, and pass it to the Discovery Service Web API call.
1212

1313
## OData API calls
1414
The calls below are supported by the Web API. These follow the OData v4 standard and
@@ -40,7 +40,7 @@ Response
4040
```http
4141
GET https://globaldisco.crm.dynamics.com/api/discovery/v2.0/Instances(<guid>)
4242
```
43-
- Get a single instance by name
43+
- Get a single instance by unique name
4444
```http
4545
GET https://globaldisco.crm.dynamics.com/api/discovery/v2.0/Instances(UniqueName='myorg')
4646
```
@@ -75,7 +75,7 @@ UniqueName|UniqueName
7575
UrlName|UrlName
7676

7777
## Deprecated API call
78-
The WCF SDK call GetUserIdByExternalId is not supported in the Web API.
78+
The Organization Service SDK call GetUserIdByExternalId is not supported in the Web API.
7979

8080
## See Also
8181
[Discovery Services](/powerapps/developer/common-data-service/discovery-service)

0 commit comments

Comments
 (0)