ServiceTerritoryMember

Represents a service resource who can be assigned to an appointment in a service territory. This object is available in API version 58.0 and later.

Supported Calls

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

Special Access Rules

Automotive and Automotive Scheduler must be enabled.

Fields

Address

  • Type: address
  • Properties: Filter, Nillable
  • Description: The member’s address.

City

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The city of the member’s address. Maximum length is 40 characters.

Country

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The country of the member’s address. Maximum length is 80 characters.

EffectiveEndDate

  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The date when the service resource is no longer a member of the territory.

EffectiveStartDate

  • Type: dateTime
  • Properties: Create, Filter, Sort, Update
  • Description: The date when the service resource becomes a member of the service territory.

GeocodeAccuracy

  • Type: picklist
  • Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
  • Description: The level of accuracy of a location’s geographical coordinates compared with its physical address. Usually provided by a geocoding service based on the address’s latitude and longitude coordinates. Possible values are:
  • Address
  • Block
  • City
  • County
  • ExtendedZip
  • NearAddress
  • Neighborhood
  • State
  • Street
  • Unknown
  • Zip

LastReferencedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The date when the territory member was last modified.

LastViewedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The date when the territory member was last viewed.

Latitude

  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: Used with Longitude to specify the precise geolocation of the member’s address. Acceptable values are numbers between –90 and 90 with up to 15 decimal places.

Longitude

  • Type: double
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: Used with Latitude to specify the precise geolocation of the member’s address. Acceptable values are numbers between –180 and 180 with up to 15 decimal places.

MemberNumber

  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: (Read only) An auto-generated number identifying the service territory member.

OperatingHoursId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The operating hours assigned to the service territory member. If no operating hours are specified, the member is assumed to use their parent service territory’s operating hours. If a member needs special operating hours, create them in Setup and select them in the Operating Hours lookup field on the member’s detail page. This field is a relationship field.
  • Relationship Name: OperatingHours
  • Relationship Type: Lookup
  • Refers To: OperatingHours

PostalCode

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The postal code of the member’s address. Maximum length is 20 characters.

ServiceResourceId

  • Type: reference
  • Properties: Create, Filter, Group, Sort, Update
  • Description: The service resource assigned to the service territory. This field is a relationship field.
  • Relationship Name: ServiceResource
  • Relationship Type: Lookup
  • Refers To: ServiceResource

ServiceTerritoryId

  • Type: reference
  • Properties: Create, Filter, Group, Sort
  • Description: The service territory that the service resource is assigned to. This field is a relationship field.
  • Relationship Name: ServiceTerritory
  • Relationship Type: Lookup
  • Refers To: ServiceTerritory

State

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The state of the member’s address. Maximum length is 80 characters.

Street

  • Type: textarea
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The street number and name of the member’s address.

TerritoryType

  • Type: picklist
  • Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
  • Description: Specifies the type of the territory in relation to the resource who is a member. Possible values are: The default value is P.
  • P—Primary
  • R—Relocation
  • S—Secondary

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.