Newer Version Available

This content describes an older version of this product. View Latest

TimeSlot

Represents a period of time on a specified day of the week during which an appointment can be scheduled. This object is available in API version 58.0 and later.

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), update(), upsert()

Special Access Rules

Automotive and Automotive Scheduler must be enabled.

Fields

Field Details
DayOfWeek
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
Description
The day of the week when the time slot takes place.
Possible values are:
  • Friday
  • Monday
  • Saturday
  • Sunday
  • Thursday
  • Tuesday
  • Wednesday
The default value is Sunday.
EndTime
Type
time
Properties
Create, Filter, Sort, Update
Description
The time when the time slot ends.
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp for when the current user last viewed a record related to this record.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp for when the current user last viewed this record.
MaxAppointments
Type
int
Properties
Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
Description
Maximum number of appointments for a single time slot.
OperatingHoursId
Type
reference
Properties
Create, Filter, Group, Sort
Description
The operating hours that the time slot belongs to. An operating hours’ time slots appear in the Operating Hours related list.
This field is a relationship field.
Relationship Name
OperatingHours
Relationship Type
Lookup
Refers To
OperatingHours
StartTime
Type
time
Properties
Create, Filter, Sort, Update
Description
The time when the time slot starts.
TimeSlotNumber
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
The name of the time slot. The name is auto-populated to a day and time format—for example, Monday 9:00 AM - 10:00 PM—but you can manually update it.
WorkTypeGroupId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Work type group assigned to the time slot.
This field is a relationship field.
Relationship Name
WorkTypeGroup
Relationship Type
Lookup
Refers To
WorkTypeGroup

Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

TimeSlotChangeEvent
Change events are available for the object.
TimeSlotHistory
History is available for tracked fields of the object.