---
schema_version: "1"
id: 5b0ae0ddc481b33bedff22daa50541d9feee86502ee8755a435993108a95026d
title: ContactPointBestContactTime
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/sforce_api_objects_contactpointbestcontacttime.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_objects_contactpointbestcontacttime.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: e53e0b3d7f9a8366fb4fda2427696fb546add92cf748930a1a73c0c142e1abdf
description: Represents the optimal time to visit associated contact point addresses. This object is available in API version 65.0 and later.
---
# ContactPointBestContactTime

Represents the optimal time to visit associated contact point addresses. This object is available in API version 65.0 and later.

## Supported Calls

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

## Fields

### AccountId

- **Type**: reference
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: The ID of the account associated with the contact point address.
    
    This field is a relationship field.
- **Relationship Name**: Account
- **Refers To**: Account

### ContactPointReferenceId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: The ID of the contact point address linked to the best contact times associated with the account.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: ContactPointReference
- **Refers To**: ContactPointAddress

### DayOfWeek

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: The day of the week associated with the best contact time record.
- **Possible values**:
    - Friday
    - Monday
    - Saturday
    - Sunday
    - Thursday
    - Tuesday
    - Wednesday

### FromTime

- **Type**: time
- **Properties**: Create, Filter, Sort, Update
- **Description**: The best from time to reach the account.

### FromTimeHours

- **Type**: int
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: The best from time hours to reach the account.
    
    This field is a calculated field.

### FromTimeInHours

- **Type**: double
- **Properties**: Filter, Nillable, Sort
- **Description**: The best from time in hours to reach the account.
    
    This field is a calculated field.

### FromTimeMinutes

- **Type**: int
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: The best from time minutes to reach the account.
    
    This field is a calculated field.

### IndividualId

- **Type**: reference
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: The ID of the individual associated with the contact point address.
    
    This field is a relationship field.
- **Relationship Name**: Individual
- **Refers To**: Individual

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp for when the current user last referenced a record related to this record.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp for when the current user last viewed this record. If this value is null, it’s possible that this record was referenced (LastReferencedDate) and not viewed.

### Name

- **Type**: string
- **Properties**: Create, Filter, Group, idLookup, Sort, Update
- **Description**: The name of the contact point best contact time record.

### OwnerId

- **Type**: reference
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: The ID of the user who owns this record.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: Owner
- **Refers To**: Group, User

### SourceSystemIdentifier

- **Type**: string
- **Properties**: Create, Filter, Group, idLookup, Nillable, Sort, Update
- **Description**: The ID of the record in the external system.

### SourceSystemName

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The name of the external system that generated the record.

### TerritoryId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The ID the territory associated with the best time record.
    
    This field is a relationship field.
- **Relationship Name**: Territory
- **Refers To**: Territory2

### ToTime

- **Type**: time
- **Properties**: Create, Filter, Sort, Update
- **Description**: The best to time to reach the account.

### ToTimeHours

- **Type**: int
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: The best to time hours to reach the account.
    
    This field is a calculated field.

### ToTimeMinutes

- **Type**: int
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: The best to time minutes to reach the account.
    
    This field is a calculated field.

### BestTimeType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The type of the best time record.

Possible values are:

- Appointment Required
- Best Time
- Closed
- My Best Time
- Open

## 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.

[ContactPointBestContactTimeChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_associated_objects_change_event.htm "A StandardObjectNameChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.")

Change events are available for the object.

[ContactPointBestContactTimeFeed](https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")

Feed tracking is available for the object.

[ContactPointBestContactTimeHistory](https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.")

History is available for tracked fields of the object.

[ContactPointBestContactTimeShare](https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_associated_objects_share.htm "StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object.")

Sharing is available for the object.