AppointmentRequest Class

Definition

Provides the details of an appointment request for the AppointmentRequest class.

For the Web API the corresponding type is AppointmentRequest ComplexType.

public ref class AppointmentRequest sealed : System::Runtime::Serialization::IExtensibleDataObject
[System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class AppointmentRequest : System.Runtime.Serialization.IExtensibleDataObject
[<System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")>]
type AppointmentRequest = class
    interface IExtensibleDataObject
Public NotInheritable Class AppointmentRequest
Implements IExtensibleDataObject
Inheritance
AppointmentRequest
Attributes
Implements

Examples

The following example shows how to use this message. For this sample to work correctly, you must be connected to the server to get an IOrganizationService interface. For the complete sample, see the link later in this topic.

Constructors

AppointmentRequest()

Initializes a new instance of the AppointmentRequest class.

Properties

AnchorOffset

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

AppointmentsToIgnore

Gets or sets the appointments to ignore in the search for possible appointments.

Constraints

Gets or sets any additional constraints.

Direction

Gets or sets the direction of the search.

Duration

Gets or sets the appointment duration, in minutes.

ExtensionData

Gets or sets the structure that contains extra data.

NumberOfResults

Gets or sets the number of results to be returned from the search request.

Objectives

Gets or sets the scheduling strategy that overrides the default constraints.

RecurrenceDuration

Gets or sets the time, in minutes, for which the appointment recurrence is valid.

RecurrenceTimeZoneCode

Gets or sets a value to override the time zone that is specified by the UserTimeZoneCode property.

RequiredResources

Gets or sets the resources that are needed for this appointment.

SearchRecurrenceRule

Gets or sets the recurrence rule for appointment recurrence.

SearchRecurrenceStart

Gets or sets the date and time for the first possible instance of the appointment.

SearchWindowEnd

Gets or sets the date and time to end the search.

SearchWindowStart

Gets or sets the date and time to begin the search.

ServiceId

Gets or sets the ID of the service to search for.

Sites

Gets or sets the sites where the requested appointment can take place.

UserTimeZoneCode

Gets or sets the time zone code of the user who is requesting the appointment.

Applies to

See also