PL-400 – Question 56

1
97

Question 56

A company has two development instances, two test instances, two staging instances, and one production instance.
The test team reports connection issues with the test and staging instances.
You need to identify which of the instances the testing team currently has access.
Which two URLs can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

A. https://globaldisco.crm.dynamics.com/api/discovery/v9.1/instances
B. https://myorg.api.crm.dynamics.com/api/data/v9.1/
C. https://dev.crm.dynamics.com/api/discovery/v9.1/instances
D. https://disco.crm.dynamics.com/api/discovery/v9.1/
E. https://dev.crm.dynamics.com/api/discovery/v9.1/instances(UniqueName=’myorg’)

Correct Answer: CE
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.
GET https://dev.{servername}/api/discovery/v9.0/Instances(UniqueName=’myorg’)
Example: Get the details of a specific instance. If you leave out the GUID, all instances that the authenticated user has access to are returned.
GET https://dev.{servername}/api/discovery/v9.0/Instances(<guid>)
Reference:
https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/webapi/discover-url-organization-web-api

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here