PersonAffinity

Represents the affinity of a person. This object is available in API version 64.0 and later.

Supported Calls

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

Fields

Field Details
AffinityType
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort, Update
Description
Specifies the type of the person affinity.
Possible values are:
  • Dislike
  • Interest
  • Like
ArchivedDate
Type
date
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The date on which the person affinity was archived.
Category
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Specifies the category of the person affinity.
ContactId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
The contact associated with the person affinity.
This field is a relationship field.
Relationship Name
Contact
Refers To
Contact
CurrencyIsoCode
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
The ISO code for the currency related to the person affinity.
Possible values are:
  • GBP—British Pound
  • USD—U.S. Dollar
The default value is USD.
Description
Type
textarea
Properties
Create, Nillable, Update
Description
The description of the person affinity.
IsActive
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Indicates whether the person affinity is active (true) or not (false).
The default value is false.
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp when the current user last accessed this record, a record related to this record, or a list view.
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, the user might have only accessed this record or list view (LastReferencedDate) but not viewed it.
Name
Type
string
Properties
Create, Filter, Group, idLookup, Sort, Update
Description
The name of the person affinity.
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
The user who owns this record.
This field is a polymorphic relationship field.
Relationship Name
Owner
Refers To
Group, User
Source
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Specifies the information source of the person affinity.
StartDate
Type
date
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Specifies the start date of the person affinity.
SubCategory
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Specifies the sub category of the person affinity.
UsageType
Type
picklist
Properties
Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort
Description
Specifies the usage type for the person affinity.
Possible values are:
  • EducationCloud—Education Cloud
The default value is EducationCloud.