Discovery service messages (request and response classes)


Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

The IDiscoveryService provides an Execute method to perform supported operations. This method takes a message request class as a parameter and returns a message response class. Request message class names end with "Request" and response message class names end with "Response”.

Execute message flow

DiscoveryRequest is the base class for all discovery message requests and DiscoveryResponse is the base class for all discovery message responses. Typically, you use one of the derived request and response class pairs in your application, for example: RetrieveOrganizationRequest and RetrieveOrganizationResponse.

For a list of the messages supported by the Execute method, see Messages in the discovery service.

See Also

Discover the URL for your organization using the Organization Service
Messages in the discovery service
Sample: Access the Discovery service

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright