Visitor

Represents the sales reps performing visits.

Special Access Rules

In Health Cloud, this object is available in API version 49.0 and later.

Supported Calls

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

Fields

AssigneeId

  • Type: reference
  • Properties: Create, Filter, Group, Sort
  • Description: Lookup to the person assigned as the visitor.

    This field is a polymorphic relationship field.

  • Relationship Name: Assignee
  • Relationship Type: Master-detail
  • Refers To:
    • Contact
    • User
    • ServiceResource

IsPrimaryResource

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Indicates whether the visitor is the primary visitor for a visit.

IsRequired

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Indicates whether the user is a required visitor for the visit.

LastReferencedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The most recent date on which a user referenced this record.

LastViewedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The timestamp when the current user last viewed this record or list view. If this value is null, and LastReferenceDate is not null, the user accessed this record or list view indirectly.

Name

  • Type: string
  • Properties: Create, Filter, Group, idLookup, Sort, Update
  • Description: The name of the visitor.

VisitId

  • Type: reference
  • Properties: Create, Filter, Group, Sort, Update
  • Description: Lookup to the Visit record this visitor is associated with. This field is a relationship field.
  • Relationship Name: Visit
  • Refers To: Visit

Associated Objects

This object has the following associated objects. Unless noted, they are available in the same API version as this object.

VisitorHistory
History is available for the object.
VisitorFeed
Feed tracking is available for the object.