ServiceAppointment
Represents an appointment to complete work for a customer in Field Service, Lightning Scheduler,Intelligent Appointment Management, and Virtual Care.This object is available in API version 38.0 and later.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see ServiceAppointment in the Automotive Cloud Developer Guide, Field Service Developer Guide, Object Reference for the Salesforce Platform, Salesforce Scheduler Developer Guide, and Work.com Developer Guide.
| 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 | ||||
AppointmentCategoryId | Appointment Category ID | reference | 18 | |||
AppointmentInvitationId | Appointment Invitation ID | reference | 18 | |||
AppointmentMode | Appointment Mode | picklist | 255 | |||
AppointmentNumber | Appointment Number | string | 255 | |||
AppointmentReasonId | Appointment Reason ID | reference | 18 | |||
AppointmentType | Appointment Type | picklist | 40 | |||
ApptBookingInfoUrl | Appointment Booking URL | textarea | 4000 | |||
ArrivalWindowEndTime | Arrival Window End | datetime | ||||
ArrivalWindowStartTime | Arrival Window Start | datetime | ||||
AttendeeCount | Attendee Count | int | 9 | |||
AttendeeLimit | Attendee Limit | int | 9 | |||
BundlePolicyId | Appointment Bundle Policy ID | reference | 18 | |||
CancellationReason | Cancellation Reason | string | 255 | |||
CheckedInTime | Checked In Time | datetime | ||||
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 | 80 | |||||
EngagementChannelTypeId | Engagement Channel Type ID | reference | 18 | |||
GeocodeAccuracy | Geocode Accuracy | picklist | 40 | |||
GroupAppointmentAccessType | Group Appointment Access Type | picklist | 255 | |||
Id | Service Appointment ID | id | 18 | |||
IsAnonymousBooking | Anonymous Booking | boolean | ||||
IsBundle | Bundle | boolean | ||||
IsBundleMember | Bundle Member | boolean | ||||
IsDeleted | Deleted | boolean | ||||
IsManuallyBundled | Manually Bundled | 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 | |||
ReceiptOrderId | Order ID | reference | 18 | |||
RelatedBundleId | Related Bundle ID | reference | 18 | |||
SchedEndTime | Scheduled End | datetime | ||||
SchedStartTime | Scheduled Start | datetime | ||||
ServiceNote | Service Note | textarea | 32000 | |||
ServiceTerritoryId | Territory ID | reference | 18 | |||
SourceSystem | Source System | string | 64 | |||
SourceSystemIdentifier | Source System Identifier | string | 255 | |||
SourceSystemResponse | Source System Response | string | 255 | |||
State | State/Province | string | 80 | |||
Status | Status | picklist | 40 | |||
StatusCategory | Status Category | picklist | 255 | |||
StatusReason | Status Reason | picklist | 255 | |||
Street | Street | textarea | 255 | |||
Subject | Subject | string | 255 | |||
SystemModstamp | System Modstamp | datetime | ||||
TimeZone | Time Zone | picklist | 255 | |||
Transaction | Transaction | string | 255 | |||
TravelTimeBuffer | Travel Time Buffer (in minutes) | int | 9 | |||
WorkTypeId | Work Type ID | reference | 18 |
Feed tracking for ServiceAppointment.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameFeed in the Object Reference for the Salesforce Platform.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
BestCommentId | Best Comment ID | reference | 18 | |||
Body | Body | textarea | 10000 | |||
CommentCount | Comment Count | int | 9 | |||
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
Id | Feed Item ID | id | 18 | |||
InsertedById | InsertedBy ID | reference | 18 | |||
IsDeleted | Deleted | boolean | ||||
IsRichText | Is Rich Text | boolean | ||||
LastModifiedDate | Last Modified Date | datetime | ||||
LikeCount | Like Count | int | 9 | |||
LinkUrl | Link URL | url | 1000 | |||
NetworkScope | Network Scope | picklist | 40 | |||
ParentId | Parent ID | reference | 18 | |||
RelatedRecordId | Related Record ID | reference | 18 | |||
SystemModstamp | System Modstamp | datetime | ||||
Title | Title | string | 255 | |||
Type | Feed Item Type | picklist | 40 | |||
Visibility | Visibility | picklist | 40 |
History for tracked fields of ServiceAppointment.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameHistory in the Object Reference for the Salesforce Platform.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
DataType | Datatype | picklist | 40 | |||
Field | Changed Field | picklist | 255 | |||
Id | Service Appointment History ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
NewValue | New Value | anyType | 255 | |||
OldValue | Old Value | anyType | 255 | |||
ServiceAppointmentId | Service Appointment ID | reference | 18 |
Sharing for ServiceAppointment.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameShare in the Object Reference for the Salesforce Platform.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
AccessLevel | Custom Object Access | picklist | 40 | |||
Id | Custom Object Share ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
LastModifiedById | Last Modified By ID | reference | 18 | |||
LastModifiedDate | Last Modified Date | datetime | ||||
ParentId | Parent ID | reference | 18 | |||
RowCause | Row Cause | picklist | 40 | |||
UserOrGroupId | User/Group ID | reference | 18 |