OwnerChangeOptionInfo
Represents default and optional actions that can be performed when a record’s owner
is changed. Available in Tooling API
version 35.0 and later.
Supported SOAP Calls
describeSObjects(), query()
Supported REST HTTP Methods
Query
Special Access Rules
OwnerChangeOptionInfo is accessible in Tooling API to user profiles with the View Setup and Configuration permission.
Fields
Field | Details |
---|---|
DefaultValue |
|
DurableId |
|
EntityDefinition |
|
EntityDefinitionId |
|
IsEditable |
|
Label |
|
Name |
|
ParentId |
|
Example
Retrieve all the change options for contacts.
SELECT Id, Name, Label, IsEditable, DefaultValue, EntityDefinition.QualifiedApiName
FROM OwnerChangeOptionInfo
WHERE EntityDefinition.QualifiedName='Contact’
Retrieve the change options for opportunities.
SELECT DurableId,EntityDefinitionId,IsEditable,Label,Name,ParentId
FROM OwnerChangeOptionInfo
WHERE EntityDefinitionId.DurableId = ‘Opportunity’