Compartilhar via


AppointmentRequest ComplexType

Provides the details of an appointment request for the SearchRequest action.

This Web API complex type corresponds to the organization service AppointmentRequest.

Properties

The properties of a complex type contain the structured data of the type.

Name Type Nullable Unicode Description

ServiceId

Edm.Guid

The ID of the service to search for.

AnchorOffset

Edm.Int32

The time offset in minutes, from midnight, when the first occurrence of the appointment can take place.

UserTimeZoneCode

Edm.Int32

The time zone code of the user who is requesting the appointment.

RecurrenceDuration

Edm.Int32

The time, in minutes, for which the appointment recurrence is valid.

RecurrenceTimeZoneCode

Edm.Int32

A value to override the time zone that is specified by the UserTimeZoneCode property.

AppointmentsToIgnore

Collection(AppointmentsToIgnore ComplexType)

The appointments to ignore in the search for possible appointments.

RequiredResources

Collection(RequiredResource ComplexType)

The resources that are needed for this appointment.

SearchWindowStart

Edm.DateTimeOffset

The date and time to begin the search.

SearchWindowEnd

Edm.DateTimeOffset

The date and time to end the search.

SearchRecurrenceStart

Edm.DateTimeOffset

The date and time for the first possible instance of the appointment.

SearchRecurrenceRule

Edm.String

false

The recurrence rule for appointment recurrence.

Duration

Edm.Int32

The appointment duration, in minutes.

Constraints

Collection(ConstraintRelation ComplexType)

Any additional constraints.

Objectives

Collection(ObjectiveRelation ComplexType)

The scheduling strategy that overrides the default constraints.

Direction

SearchDirection EnumType

The direction of the search.

NumberOfResults

Edm.Int32

The number of results to be returned from the search request.

Sites

Collection(Edm.Guid)

false

The sites where the requested appointment can take place.

Types that use the AppointmentRequest complex type.

The following use the AppointmentRequest complex type.

Name How used Description

Search Function

AppointmentRequest Parameter

Searches for available time slots that fulfill the specified appointment request.

Consulte também

Outros recursos

Web API EntityType Reference
Web API Action Reference
Web API Function Reference
Web API Query Function Reference
Web API EnumType 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.