Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

OperatingHoursHoliday

Represents the day or hours for which a service territory and service resources exclusive to the service territory are unavailable in Salesforce Scheduler. This object is available in API version 54.0 and later.

Supported Calls

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

Special Access Rules

Salesforce Scheduler must be enabled.

Fields

Field Details
DateAndTime
Type
string
Properties
Filter, Group, Nillable, Sort
Description
(Read-Only) The date or time for the holiday.
HolidayId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
The ID of the holiday that’s related to the operating hours indicated in the OperatingHoursId field.
This is a relationship field.
Relationship Name
Holiday
Relationship Type
Lookup
Refers To
Holiday
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The date and time that the current user last viewed a record related to this object.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp for when the current user last viewed this object.
OperatingHoursHolidayNumber
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
(Read-Only) An auto-generated number identifying the operating hours holiday.
OperatingHoursId
Type
reference
Properties
Create, Filter, Group, Sort
Description
The ID of the operating hours that’s related to the holiday indicated in the HolidayId field.
This is a relationship field.
Relationship Name
OperatingHours
Relationship Type
Lookup
Refers To
OperatingHours