Newer Version Available

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

AssignedResource

Represents a service resource who is assigned to a service appointment. Assigned resources appear in the Assigned Resources related list on service appointments. This object is available in API version 38.0 and later.

Supported Calls

create()delete()describeLayout()describeSObjects()getDeleted()getUpdated()query()retrieve()undelete()

Special Access Rules

Field Service Lightning must be enabled.

Fields

Field Name Details
ActualTravelTime
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
The number of minutes that the service resource needed to travel to the service appointment they’re assigned to. You can enter a value with up to two decimal places.
AssignedResourceNumber
Type
string
Properties
Autonumber, Defaulted on create, Filter, Sort
Description
An auto-generated number identifying the resource assignment.
EstimatedTravelTime
Type
double
Properties
Create, Filter, Nillable, Sort, Update
Description
The estimated number of minutes needed for the service resource to travel to the service appointment they’re assigned to. You can enter a value with up to two decimal places.
ServiceAppointmentId
Type
reference
Properties
Create, Filter, Group, Sort
Description
The service appointment that the resource is assigned to.
ServiceResourceId
Type
reference
Properties
Create, Update, Filter, Group, Sort
Description
The resource who is assigned to the service appointment.

Usage

You can assign multiple service resources to a service appointment. Service resources who are assigned to service appointments cannot be deactivated until they are removed from the appointments.