Compartilhar via


QuerySchedule Function

Searches the specified resource for an available time block that matches the specified parameters.

This Web API function corresponds to the organization service QueryScheduleRequest.

QuerySchedule function is not bound to any entity types.

Parameters

Parameters allow for data to be passed to the function.

Name Type Nullable Unicode Description

ResourceId

Edm.Guid

false

The resource.

Start

Edm.DateTimeOffset

false

The start time for the scheduled block of time.

End

Edm.DateTimeOffset

false

The end time for the scheduled block of time.

TimeCodes

Collection(TimeCode EnumType)

false

The time codes to look for: Available, Busy, Unavailable, or Filter, which correspond to the resource IDs

Return Type

The QuerySchedule function returns the following value.

Type Nullable Description

QueryScheduleResponse ComplexType

false

Contains the response from the QuerySchedule function.

Consulte também

Outros recursos

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 CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.