RetrieveExchangeAppointments Function

 

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

Retrieves the appointments for the current user for a specific date range from the exchange web service.

This Web API function corresponds to the organization service RetrieveExchangeAppointmentsRequest.

RetrieveExchangeAppointments function is not bound to any entity types.

Remarks

Parameters

Parameters allow for data to be passed to the function.

Name

Type

Nullable

Unicode

Description

StartDate

Edm.DateTimeOffset

false

The start date of the range in UTC.

EndDate

Edm.DateTimeOffset

false

The end date of the range in UTC.

Return Type

The RetrieveExchangeAppointments function returns the following value.

Type

Nullable

Description

Collection(crmbaseentity EntityType)

false

A collection of Exchange appointments for the user within the date range spacified.

Remarks

Use of this message requires that the proper Mailbox and Email Server are set up for the user. If these are not property configured, this message can return the following errors;

Error

Possible Cause

The remote server returned an error: (401) Unauthorized.

Email credentials are incorrect.

The remote name could not be resolved: '<hostname>'

Invalid Exchange Web Services endpoint

The remote server returned an error: (403) Forbidden.

Invalid SSL (HTTPS) settings

Could not determine exchange server URL..

Auto discovery error.

Note

Although the data is returned uses the structure of Dynamics 365appointment EntityType, they do not represent data from Dynamics 365. This data comes from Exchange.

See Also

Use Web API functions
Web API EntityType Reference
Web API Action Reference
Web API Query Function Reference
Web API EnumType Reference
Web API ComplexType Reference
Web API Metadata EntityType Reference

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright