TimeSlot
Represents a period of time on a specified day of the week during which
work can be performed in Field Service, Salesforce Scheduler, or Workforce Engagement. Operating
hours consist of one or more time slots. This object is available in API version 38.0 and
later.
Supported Calls
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), update(), upsert()
Fields
| Field Name | Details |
|---|---|
| DayOfWeek |
|
| EndTime |
|
| LastReferencedDate |
|
| LastViewedDate |
|
| MaxAppointments |
|
| OperatingHoursId |
|
| StartTime |
|
| RecordSetFilterCriteriaId |
|
| TimeSlotNumber |
|
| Type |
|
| WorkTypeGroupId |
|
Usage
Operating hours are composed of time slots, which indicate the hours of operation for a particular day. After you create operating hours, create time slots for each day. For example, if the operating hours should be 8 AM to 5 PM Monday through Friday, create five time slots, one per day. To reflect breaks such as lunch hours, create multiple time slots in a day: for example, Monday 8:00 AM – 12:00 PM and Monday 1:00 PM – 5:00 PM.
Associated Objects
This object has the following associated objects. Unless noted, they are available in the same API version as this object.
- TimeSlotChangeEvent (API version 54.0)
- Change events are available for the object.
- TimeSlotHistory (API version 62.0)
- History is available for tracked fields of the object.