Visitor

Represents the inspectors performing inspection visits. This object is available in API version 56.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: Lookup
  • Refers To: Contact, User

IsPrimaryResource

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

IsRequired

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

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 most recent date on which a user viewed this record.

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
  • Relationship Type: Lookup
  • Refers To: Visit