---
schema_version: "1"
id: acae8c6133a441cdaad65304903e90d03d5cb55df29b561e6ef9419ee3c01e60
title: LxScheduler Namespace
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_namespace_lxscheduler.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_lxscheduler.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 54d3b7d1189ea4e9620fbb67c956dbf432d577da17affeecea780d563a3b7569
description: The LxScheduler namespace provides an interface and classes for integrating Salesforce Scheduler with external calendars.
---
# LxScheduler Namespace

The LxScheduler namespace provides an interface and classes for integrating Salesforce Scheduler with external calendars.

The following are the classes and the interface in the LxScheduler namespace.

- **[GetAppointmentCandidatesInput Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_lxscheduler_GetAppointmentCandidatesInput.htm#apex_class_lxscheduler_GetAppointmentCandidatesInput)**  
    Contains information about the available service resources (appointment candidates) based on work type group and service territories.
- **[GetAppointmentCandidatesInputBuilder Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_lxscheduler_GetAppointmentCandidatesInputBuilder.htm#apex_class_lxscheduler_GetAppointmentCandidatesInputBuilder)**  
    Contains methods to build an instance of the lxscheduler.GetAppointmentCandidatesInput class.
- **[GetAppointmentSlotsInput Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_lxscheduler_GetAppointmentSlotsInput.htm#apex_class_lxscheduler_GetAppointmentSlotsInput)**  
    Contains information about the available appointment time slots for a resource based on given work type group and territories.
- **[GetAppointmentSlotsInputBuilder Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_lxscheduler_GetAppointmentSlotsInputBuilder.htm#apex_class_lxscheduler_GetAppointmentSlotsInputBuilder)**  
    Contains methods to build an instance of the lxscheduler.GetAppointmentSlotsInput class.
- **[SchedulerResources Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_lxscheduler_SchedulerResources.htm#apex_class_lxscheduler_SchedulerResources)**  
    Contains methods that holds the business logic to get resources availability.
- **[SkillRequirement Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_lxscheduler_SkillRequirement.htm#apex_class_lxscheduler_SkillRequirement)**  
    Contains information about the set of skills that are required to complete a particular task for a work type.
- **[SkillRequirementBuilder Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_lxscheduler_SkillRequirementBuilder.htm#apex_class_lxscheduler_SkillRequirementBuilder)**  
    Contains methods to build an instance of the lxscheduler.SkillRequirement class.
- **[WorkType Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_lxscheduler_WorkType.htm#apex_class_lxscheduler_WorkType)**  
    Contains information about the type of work to be performed.
- **[WorkTypeBuilder Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_lxscheduler_WorkTypeBuilder.htm#apex_class_lxscheduler_WorkTypeBuilder)**  
    Contains methods to build an instance of the lxscheduler.WorkType class.
- **[ServiceResourceScheduleHandler Interface](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_interface_lxscheduler_ServiceResourceScheduleHandler.htm#apex_interface_lxscheduler_ServiceResourceScheduleHandler)**  
    Allows an implementing class to check external calendar events to find already booked time slots for the requested service resources. This interface is part of Salesforce Scheduler.
- **[ServiceAppointmentRequestInfo Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_lxscheduler_ServiceAppointmentRequestInfo.htm#apex_class_lxscheduler_ServiceAppointmentRequestInfo)**  
    Represents the list of parameters that are passed to the ServiceResourceScheduleHandler interface. This class is implemented internally by Apex.
- **[ServiceResourceInfo Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_lxscheduler_ServiceResourceInfo.htm#apex_class_lxscheduler_ServiceResourceInfo)**  
    Contains information about a service resource.
- **[ServiceResourceSchedule Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_lxscheduler_ServiceResourceSchedule.htm#apex_class_lxscheduler_ServiceResourceSchedule)**  
    Use this class to pass results from your implemented Apex class to the ServiceResourceScheduleHandler interface methods.
- **[UnavailableTimeslot Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_lxscheduler_UnavailableTimeslot.htm#apex_class_lxscheduler_UnavailableTimeslot)**  
    Use this class to pass the unavailable time slots to the lxscheduler.ServiceResourceSchedule class. Timezones that differ across operating hours are handled and results are always returned in UTC.

#### See Also

- [Apex Interface Implementation Limitations and Error Codes](https://help.salesforce.com/s/articleView?id=platform.ls_ext_cal_integration_troubleshooting.htm&type=5&language=en_US)