OwnerMapping entity reference

Note

Effective Nov 2020, Common Data Service has been renamed to Microsoft Dataverse.

In a data map, maps ownership data from the source file to Microsoft Dynamics 365.

Messages

Message Web API Operation SDK Assembly
Create POST [org URI]/api/data/v9.0/ownermappings
See Create
CreateRequest or
Create
Delete DELETE [org URI]/api/data/v9.0/ownermappings(ownermappingid)
See Delete
DeleteRequest or
Delete
Retrieve GET [org URI]/api/data/v9.0/ownermappings(ownermappingid)
See Retrieve
RetrieveRequest or
Retrieve
RetrieveMultiple GET [org URI]/api/data/v9.0/ownermappings
See Query Data
RetrieveMultipleRequest or
RetrieveMultiple

Entity properties

Property Value
CollectionSchemaName OwnerMappings
DisplayCollectionName Owner Mappings
DisplayName Owner Mapping
EntitySetName ownermappings
IsBPFEntity False
LogicalCollectionName ownermappings
LogicalName ownermapping
OwnershipType None
PrimaryIdAttribute ownermappingid
PrimaryNameAttribute
SchemaName OwnerMapping

Writable attributes

These attributes return true for either IsValidForCreate or IsValidForUpdate (usually both). Listed by SchemaName.

ImportMapId

Property Value
Description Unique identifier of the data map with which the owner mapping is associated.
DisplayName Data Map
IsValidForForm True
IsValidForRead True
LogicalName importmapid
RequiredLevel ApplicationRequired
Targets importmap
Type Lookup

IntroducedVersion

Property Value
Description Version in which the component is introduced.
DisplayName Introduced Version
FormatName VersionNumber
IsLocalizable False
IsValidForForm False
IsValidForRead True
IsValidForUpdate False
LogicalName introducedversion
MaxLength 48
RequiredLevel None
Type String

OwnerMappingId

Property Value
Description Unique identifier of the owner mapping.
DisplayName
IsValidForForm False
IsValidForRead True
IsValidForUpdate False
LogicalName ownermappingid
RequiredLevel SystemRequired
Type Uniqueidentifier

ProcessCode

Property Value
Description Code that indicates whether the owner mapping has to be processed
DisplayName Process Code
IsValidForForm True
IsValidForRead True
LogicalName processcode
RequiredLevel SystemRequired
Type Picklist

ProcessCode Options

Value Label
1 Process
2 Ignore
3 Internal

SourceSystemUserName

Property Value
Description Source user name that has to be replaced
DisplayName Source System User Name
FormatName Text
IsLocalizable False
IsValidForForm True
IsValidForRead True
LogicalName sourcesystemusername
MaxLength 160
RequiredLevel None
Type String
Property Value
Description Source user value for source Microsoft Dynamics 365 user link.
DisplayName Source User Value
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName sourceuservalueforsourcecrmuserlink
MaxLength 160
RequiredLevel None
Type String

StatusCode

Property Value
Description Reason for the status of the owner mapping.
DisplayName Status Reason
IsValidForForm True
IsValidForRead True
LogicalName statuscode
RequiredLevel SystemRequired
Type Status

StatusCode Options

Value Label State
0 Active 0

TargetSystemUserDomainName

Property Value
Description Microsoft Dynamics 365 logon name with which the source user name should be replaced.
DisplayName Target Domain Name
FormatName Text
IsLocalizable False
IsValidForForm True
IsValidForRead True
LogicalName targetsystemuserdomainname
MaxLength 260
RequiredLevel None
Type String

TargetSystemUserId

Property Value
Description Unique identifier of the Microsoft Dynamics 365 user.
DisplayName Target System User
IsValidForForm True
IsValidForRead True
LogicalName targetsystemuserid
RequiredLevel None
Targets businessunit
Type Lookup
Property Value
Description Microsoft Dynamics CRM user.
DisplayName Target User Value
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName targetuservalueforsourcecrmuserlink
MaxLength 160
RequiredLevel None
Type String

Read-only attributes

These attributes return false for both IsValidForCreate or IsValidForUpdate. Listed by SchemaName.

ComponentState

Property Value
Description For internal use only.
DisplayName Component State
IsValidForForm False
IsValidForRead True
LogicalName componentstate
RequiredLevel SystemRequired
Type Picklist

ComponentState Options

Value Label
0 Published
1 Unpublished
2 Deleted
3 Deleted Unpublished

CreatedBy

Property Value
Description Unique identifier of the user who created the owner mapping.
DisplayName Created By
IsValidForForm False
IsValidForRead True
LogicalName createdby
RequiredLevel None
Targets systemuser
Type Lookup

CreatedByName

Property Value
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName createdbyname
MaxLength 100
RequiredLevel None
Type String

CreatedByYomiName

Property Value
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName createdbyyominame
MaxLength 100
RequiredLevel None
Type String

CreatedOn

Property Value
DateTimeBehavior UserLocal
Description Date and time when the owner mapping was created.
DisplayName
Format DateAndTime
IsValidForForm False
IsValidForRead True
LogicalName createdon
RequiredLevel SystemRequired
Type DateTime

CreatedOnBehalfBy

Property Value
Description Unique identifier of the delegate user who created the ownermapping.
DisplayName Created By (Delegate)
IsValidForForm False
IsValidForRead True
LogicalName createdonbehalfby
RequiredLevel None
Targets systemuser
Type Lookup

CreatedOnBehalfByName

Property Value
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName createdonbehalfbyname
MaxLength 100
RequiredLevel None
Type String

CreatedOnBehalfByYomiName

Property Value
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName createdonbehalfbyyominame
MaxLength 100
RequiredLevel None
Type String

ImportMapIdName

Property Value
Description Name of the import map.
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName importmapidname
MaxLength 100
RequiredLevel SystemRequired
Type String

IsManaged

Property Value
Description Information that specifies whether this component is managed.
DisplayName State
IsValidForForm False
IsValidForRead True
LogicalName ismanaged
RequiredLevel SystemRequired
Type Boolean

IsManaged Options

Value Label
1 Managed
0 Unmanaged

DefaultValue: False

ModifiedBy

Property Value
Description Unique identifier of the user who last modified the lookup mapping.
DisplayName Modified By
IsValidForForm False
IsValidForRead True
LogicalName modifiedby
RequiredLevel None
Targets systemuser
Type Lookup

ModifiedByName

Property Value
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName modifiedbyname
MaxLength 100
RequiredLevel None
Type String

ModifiedByYomiName

Property Value
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName modifiedbyyominame
MaxLength 100
RequiredLevel None
Type String

ModifiedOn

Property Value
DateTimeBehavior UserLocal
Description Date and time when the owner mapping was last modified.
DisplayName Modified On
Format DateAndTime
IsValidForForm True
IsValidForRead True
LogicalName modifiedon
RequiredLevel SystemRequired
Type DateTime

ModifiedOnBehalfBy

Property Value
Description Unique identifier of the delegate user who last modified the ownermapping.
DisplayName Modified By (Delegate)
IsValidForForm False
IsValidForRead True
LogicalName modifiedonbehalfby
RequiredLevel None
Targets systemuser
Type Lookup

ModifiedOnBehalfByName

Property Value
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName modifiedonbehalfbyname
MaxLength 100
RequiredLevel None
Type String

ModifiedOnBehalfByYomiName

Property Value
Description
DisplayName
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName modifiedonbehalfbyyominame
MaxLength 100
RequiredLevel None
Type String

OverwriteTime

Property Value
DateTimeBehavior UserLocal
Description For internal use only.
DisplayName Record Overwrite Time
Format DateOnly
IsValidForForm False
IsValidForRead True
LogicalName overwritetime
RequiredLevel SystemRequired
Type DateTime

OwnerMappingIdUnique

Property Value
Description Unique identifier of the OwnerMapping.
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName ownermappingidunique
RequiredLevel SystemRequired
Type Uniqueidentifier

SolutionId

Property Value
Description Unique identifier of the associated solution.
DisplayName Solution
IsValidForForm False
IsValidForRead True
LogicalName solutionid
RequiredLevel SystemRequired
Type Uniqueidentifier

StateCode

Property Value
Description Status of the owner mapping.
DisplayName Status
IsValidForForm True
IsValidForRead True
LogicalName statecode
RequiredLevel SystemRequired
Type State

StateCode Options

Value Label DefaultStatus InvariantName
0 Active 0 Active

SupportingSolutionId

Property Value
Description For internal use only.
DisplayName Solution
IsValidForForm False
IsValidForRead False
LogicalName supportingsolutionid
RequiredLevel None
Type Uniqueidentifier

Many-To-One Relationships

Each Many-To-One relationship is defined by a corresponding One-To-Many relationship with the related entity. Listed by SchemaName.

lk_ownermapping_modifiedby

See systemuser Entity lk_ownermapping_modifiedby One-To-Many relationship.

lk_ownermapping_createdonbehalfby

See systemuser Entity lk_ownermapping_createdonbehalfby One-To-Many relationship.

OwnerMapping_SystemUser

See systemuser Entity OwnerMapping_SystemUser One-To-Many relationship.

lk_ownermapping_modifiedonbehalfby

See systemuser Entity lk_ownermapping_modifiedonbehalfby One-To-Many relationship.

lk_ownermapping_createdby

See systemuser Entity lk_ownermapping_createdby One-To-Many relationship.

OwnerMapping_ImportMap

See importmap Entity OwnerMapping_ImportMap One-To-Many relationship.

See also

About entity reference
Web API reference
ownermapping EntityType

Note

Can you tell us about your documentation language preferences? Take a short survey.

The survey will take about seven minutes. No personal data is collected (privacy statement).