ServiceAppointmentRequestInfo Class
Represents the list of parameters that are passed to the ServiceResourceScheduleHandler interface. This class is implemented internally by Apex.
The following are constructors for ServiceAppointmentRequestInfo.
-
Creates a new instance of the
lxscheduler.ServiceAppointmentRequestInfoclass using the specified start date, end date, service resources, scheduling policy, work type group, accound ID, primary resource, work type, and correlation.
Creates a new instance of the lxscheduler.ServiceAppointmentRequestInfo class using the specified start date, end date, service resources, scheduling policy, work type group, accound ID, primary resource, work type, and correlation.
public ServiceAppointmentRequestInfo(Datetime startDate, Datetime endDate, List<lxscheduler.ServiceResourceInfo> ServiceResources, String SchedulingPolicyId, String workTypeGroupId, String accountId, String primaryResourceId, String workTypeId, String correlationId)
-
startDate:
Type: Datetime
The start date and time for which unavailable time slots are requested.
-
endDate:
Type: Datetime
The end date and time for which unavailable time slots are requested.
-
ServiceResources:
Type: List<lxscheduler.ServiceResourceInfo>
The list of requested service resources for the unavailable time slots.
-
SchedulingPolicyId:
Type: String
The ID of the scheduling policy .
-
workTypeGroupId:
Type: String
The work type group ID.
-
accountId:
Type: String
The account ID of an existing user.
-
primaryResourceId:
Type: String
The ID of the primary service resource.
-
workTypeId:
Type: String
The work type ID.
-
correlationId:
Type: String
A unique identifier for a service appointment request.
The following are methods for ServiceAppointmentRequestInfo.
-
Returns the account ID of the customer if the API request contains one.
-
Returns a unique identifier for a request.
-
Returns the end date and time for which unavailable time slots are requested.
-
Returns the ID of the primary service resource.
-
Returns the ID of the scheduling policy that the API request contains.
-
Returns the list of requested service resources for the unavailable time slots.
-
Returns the start date and time for which unavailable time slots are requested.
-
Returns the work type group ID if the API request contains one.
-
Returns the work type ID if the API request contains one.
Returns the account ID of the customer if the API request contains one.
public String getAccountId()
Type: String
Returns a unique identifier for a request.
public String getCorrelationId()
Type: String
Returns the end date and time for which unavailable time slots are requested.
public Datetime getEndDate()
Type: Datetime
Returns the ID of the primary service resource.
public String getPrimaryResourceId()
Type: String
Returns the ID of the scheduling policy that the API request contains.
public String getSchedulingPolicyId()
Type: String
Returns the list of requested service resources for the unavailable time slots.
public List<lxscheduler.ServiceResourceInfo> getServiceResources()
Type: List<lxscheduler.ServiceResourceInfo>
Returns the start date and time for which unavailable time slots are requested.
public Datetime getStartDate()
Type: Datetime
Returns the work type group ID if the API request contains one.
public String getWorkTypeGroupId()
Type: String
Returns the work type ID if the API request contains one.
public String getWorkTypeId()
Type: String