Newer Version Available
TimeSlot
Represents a period of time on a specified day of the week during which
field service work can be performed. 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(), getDeleted(), getUpdated(), query(), retrieve(), update(), upsert()
Special Access Rules
Field Service Lightning must be enabled.
Fields
| Field Name | Details |
|---|---|
| DayOfWeek |
|
| EndTime |
|
| LastReferencedDate |
|
| LastViewedDate |
|
| OperatingHoursId |
|
| StartTime |
|
| TimeSlotNumber |
|
| Type |
|
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.