Newer Version Available

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

ServiceAppointment

Represents an appointment to complete work for a customer in Field Service and Lightning Scheduler.

For more information, see ServiceAppointment in the Field Service Developer Guide, Object Reference for Salesforce and Lightning Platform, Salesforce Scheduler Developer Guide, and Work.com Developer Guide.

Fields

Field Name Field Label Type Digits Length Precision Scale
AccountId Account ID reference 18
ActualDuration Actual Duration (Minutes) double 18 2
ActualEndTime Actual End datetime
ActualStartTime Actual Start datetime
AdditionalInformation Additional Information string 255
Address Address address
AppointmentNumber Appointment Number string 255
AppointmentType Appointment Type picklist 40
ApptBookingInfoUrl Appointment Booking URL textarea 4000
ArrivalWindowEndTime Arrival Window End datetime
ArrivalWindowStartTime Arrival Window Start datetime
CancellationReason Cancellation Reason string 255
City City string 40
Comments Comment string 255
ContactId Contact ID reference 18
Country Country string 80
CreatedById Created By ID reference 18
CreatedDate Created Date datetime
Description Description textarea 32000
DueDate Due Date datetime
Duration Duration double 18 2
DurationInMinutes Duration in Minutes double 18 2
DurationType Duration Type picklist 255
EarliestStartTime Earliest Start Permitted datetime
Email Email email 80
GeocodeAccuracy Geocode Accuracy picklist 255
Id Service Appointment ID id 18
IsAnonymousBooking Anonymous Booking boolean
IsDeleted Deleted boolean
IsOffsiteAppointment Offsite Appointment boolean
LastModifiedById Last Modified By ID reference 18
LastModifiedDate Last Modified Date datetime
LastReferencedDate Last Referenced Date datetime
LastViewedDate Last Viewed Date datetime
Latitude Latitude double 18 15
Longitude Longitude double 18 15
OwnerId Owner ID reference 18
ParentRecordId Parent Record ID reference 18
ParentRecordStatusCategory Parent Record Status Category picklist 255
ParentRecordType Parent Record Type string 50
Phone Phone phone 40
PostalCode Zip/Postal Code string 20
SchedEndTime Scheduled End datetime
SchedStartTime Scheduled Start datetime
ServiceNote Service Note textarea 32000
ServiceTerritoryId Territory ID reference 18
State State/Province string 80
Status Status picklist 40
StatusCategory Status Category picklist 255
Street Street textarea 255
Subject Subject string 255
SystemModstamp System Modstamp datetime
WorkTypeId Work Type ID reference 18