Represents the role that a given Contact plays on an Account.
create(), update(), delete(), query(), retrieve(), getDeleted(), getUpdated(), describeSObjects()
| Field | Field Type | Field Properties | Description |
|---|---|---|---|
| AccountId | reference | Create | Required. ID of the Account. For information on IDs, see ID Field Type. |
| ContactId | reference | Create | Required. ID of the Contact associated with this account. For information on IDs, see ID Field Type. |
| IsDeleted | boolean | Create | Indicates whether the object has been moved to the Recycle Bin (true) or not (false). Label is Deleted. |
| IsPrimary | boolean | Create | Specifies whether the Contact plays the primary role on the Account (true) or not (false). Note that each account has only one primary contact role. Label is Primary. Default value is false. |
| Role | picklist | Create | Name of the role played by the Contact on this Account, such as Decision Maker, Approver, Buyer, and so on. Must be unique—there cannot be multiple records in which the AccountId, ContactId, and Role values are identical. Different contacts can play the same role on the same account. A contact can play different roles on the same account. |
Use this object to define the role that a given Contact plays on a given Account within the context of a specific Opportunity.