Export (0) Print
Expand All

ServiceAppointment entity messages and methods

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

The service appointment entity represents a block of time on a calendar. This entity stores the availability blocks for resources and can be used to determine resource availability and scheduling. The schema name for this entity is ServiceAppointment. To view the entity metadata for your organization, install the Metadata Browser solution described in Browse the metadata for your organization. You can also view the metadata for an uncustomized organization in the Excel file called EntityMetadata.xlsx included in the tools folder of the SDK download.

The following table describes the messages for this entity, which you use with the IOrganizationService.Execute method.


Message Description


Assigns a service appointment to another user or team.


Schedules or books a service appointment.


Creates a service appointment. You can also call the IOrganizationService.Create method.


Deletes a service appointment. You can also call the IOrganizationService.Delete method.


Shares a service appointment with another security principal (user or team).


Changes the access rights for a service appointment previously shared with another security principal (user or team).


Reschedules a service appointment.


Retrieves a service appointment. You can also call the IOrganizationService.Retrieve method.


Retrieves a collection of service appointments. You can also call the IOrganizationService.RetrieveMultiple method.


Retrieves the access that the specified security principal (user or team) has to a service appointment.


Retrieves the security principals (users or teams) that have access to a service appointment, together with their access rights to the service appointment.


Removes all access to a service appointment for the specified security principal (user or team).


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


Sets the state of a service appointment. The possible values for this attribute are defined in the ServiceAppointment.State attribute.If you are using early bound types, you can use the ServiceAppointmentState enumeration. For a list of states, ServiceAppointment entity metadata. You can find this information in the metadata for your organization. See the preceding metadata browser information.


Updates a service appointment. You can also call the IOrganizationService.Update method.


Validates that all the constraints of a service appointment are met.

See Also

Microsoft Dynamics CRM 2013 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.
© 2014 Microsoft