TraceLog Entity Reference

A trace log.

Messages

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

Entity Properties

Property Value
CollectionSchemaName TraceLogs
DisplayCollectionName Traces
DisplayName Trace
EntitySetName tracelogs
IsBPFEntity False
LogicalCollectionName tracelogs
LogicalName tracelog
OwnershipType OrganizationOwned
PrimaryIdAttribute tracelogid
PrimaryNameAttribute text
SchemaName TraceLog

Writable attributes

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

CanBeDeleted

Property Value
Description Indicates if this trace log can be deleted.
DisplayName Trace CanBeDeleted Flag
IsValidForForm False
IsValidForRead True
IsValidForUpdate False
LogicalName canbedeleted
RequiredLevel None
Type Boolean

CanBeDeleted Options

Value Label
1 Yes
0 No

DefaultValue: True

CollationLevel

Property Value
Description Indicates the collation level
DisplayName Collation Level
Format None
IsValidForForm False
IsValidForRead True
IsValidForUpdate False
LogicalName collationlevel
MaxValue 2147483647
MinValue 0
RequiredLevel None
Type Integer

ErrorDetails

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

ErrorTypeDisplay

Property Value
Description
DisplayName Trace Error Details
FormatName Text
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName errortypedisplay
MaxLength 320
RequiredLevel None
Type String

IsUnique

Property Value
Description Tells if this traceLog is created uniquely(only one) for the associated entity.
DisplayName Is Unique Trace
IsValidForForm False
IsValidForRead True
IsValidForUpdate False
LogicalName isunique
RequiredLevel None
Type Boolean

IsUnique Options

Value Label
1 Yes
0 No

DefaultValue: False

Level

Property Value
Description Information about the trace level.
DisplayName Level
IsValidForForm True
IsValidForRead True
IsValidForUpdate False
LogicalName level
RequiredLevel ApplicationRequired
Type Picklist

Level Options

Value Label
1 Information
2 Warning
3 Error

MachineName

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

ParentTraceLogId

Property Value
Description Indicates the parent ID of the trace log.
DisplayName Parent Id
IsValidForForm False
IsValidForRead True
IsValidForUpdate False
LogicalName parenttracelogid
RequiredLevel None
Targets tracelog
Type Lookup

RegardingObjectId

Property Value
Description Regarding mailbox or email server profile.
DisplayName Regarding
IsValidForForm True
IsValidForRead True
IsValidForUpdate False
LogicalName regardingobjectid
RequiredLevel SystemRequired
Targets emailserverprofile,mailbox
Type Lookup

RegardingObjectTypeCode

Property Value
Description Type of the regarding object.
DisplayName Regarding Object Type
IsValidForForm False
IsValidForRead True
IsValidForUpdate False
LogicalName regardingobjecttypecode
RequiredLevel None
Type EntityName

Text

Property Value
Description Text of the trace.
DisplayName Text
FormatName Text
IsLocalizable False
IsValidForForm True
IsValidForRead True
IsValidForUpdate False
LogicalName text
MaxLength 2000
RequiredLevel None
Type String

TimeZoneRuleVersionNumber

Property Value
Description For internal use only.
DisplayName Time Zone Rule Version Number
Format None
IsValidForForm False
IsValidForRead True
LogicalName timezoneruleversionnumber
MaxValue 2147483647
MinValue -1
RequiredLevel None
Type Integer

TraceActionXml

Property Value
Description XML representation of the trace actions.
DisplayName Trace Actions XML
Format TextArea
IsLocalizable False
IsValidForForm False
IsValidForRead True
IsValidForUpdate False
LogicalName traceactionxml
MaxLength 1073741823
RequiredLevel None
Type Memo

TraceCode

Property Value
Description Error code.
DisplayName Error Code
Format None
IsValidForForm True
IsValidForRead True
IsValidForUpdate False
LogicalName tracecode
MaxValue 1000000000
MinValue 0
RequiredLevel SystemRequired
Type Integer

TraceDetailXml

Property Value
Description XML representation of the trace details.
DisplayName Trace Detail XML
Format TextArea
IsLocalizable False
IsValidForForm False
IsValidForRead True
LogicalName tracedetailxml
MaxLength 1073741823
RequiredLevel None
Type Memo

TraceLogId

Property Value
Description Unique identifier of the trace.
DisplayName Trace
IsValidForForm False
IsValidForRead True
IsValidForUpdate False
LogicalName tracelogid
RequiredLevel SystemRequired
Type Uniqueidentifier

TraceParameterXml

Property Value
Description XML representation of the trace parameters.
DisplayName Trace Parameter XML
Format TextArea
IsLocalizable False
IsValidForForm False
IsValidForRead True
IsValidForUpdate False
LogicalName traceparameterxml
MaxLength 1073741823
RequiredLevel None
Type Memo

TraceStatus

Property Value
Description Status about the trace.
DisplayName Trace Status
IsValidForForm True
IsValidForRead True
IsValidForUpdate False
LogicalName tracestatus
RequiredLevel None
Type Boolean

TraceStatus Options

Value Label
1 Success
0 Failure

DefaultValue: False

UTCConversionTimeZoneCode

Property Value
Description Time zone code that was in use when the trace was created.
DisplayName UTC Conversion Time Zone Code
Format None
IsValidForForm False
IsValidForRead True
LogicalName utcconversiontimezonecode
MaxValue 2147483647
MinValue -1
RequiredLevel None
Type Integer

Read-only attributes

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

CreatedBy

Property Value
Description Unique identifier of the user who created the trace.
DisplayName Created By
IsValidForForm True
IsValidForRead True
LogicalName createdby
RequiredLevel SystemRequired
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 Time the error is created and logged.
DisplayName Created On
Format DateAndTime
IsValidForForm True
IsValidForRead True
LogicalName createdon
RequiredLevel None
Type DateTime

CreatedOnBehalfBy

Property Value
Description Unique identifier of the delegate user who created the trace.
DisplayName Created By (Delegate)
IsValidForForm True
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

ModifiedBy

Property Value
Description Unique identifier of the user who modified the trace.
DisplayName Modified By
IsValidForForm True
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 Time the error is updated and logged for the same regarding object.
DisplayName Last Update On
Format DateAndTime
IsValidForForm True
IsValidForRead True
LogicalName modifiedon
RequiredLevel None
Type DateTime

ModifiedOnBehalfBy

Property Value
Description Unique identifier of the delegate user who modified the trace.
DisplayName Modified By (Delegate)
IsValidForForm True
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

OrganizationId

Property Value
Description Unique identifier of the organization associated with the trace.
DisplayName Organization
IsValidForForm False
IsValidForRead True
LogicalName organizationid
RequiredLevel SystemRequired
Targets organization
Type Lookup

OrganizationIdName

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

RegardingObjectIdName

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

RegardingObjectIdYomiName

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

RegardingObjectOwnerId

Property Value
Description Unique identifier of the user or team who owns the regarding object.
DisplayName Owner
IsValidForForm False
IsValidForRead True
LogicalName regardingobjectownerid
RequiredLevel SystemRequired
Targets systemuser,team
Type Owner

RegardingObjectOwnerIdType

Property Value
Description Owner type of the regarding object.
DisplayName Owner Type
IsValidForForm False
IsValidForRead True
LogicalName regardingobjectowneridtype
RequiredLevel None
Type EntityName

RegardingObjectOwningBusinessUnit

Property Value
Description Unique identifier of the business unit that owns the regarding object.
DisplayName Owning Business Unit
IsValidForForm False
IsValidForRead True
LogicalName regardingobjectowningbusinessunit
RequiredLevel None
Targets businessunit
Type Lookup

TraceParameterHash

Property Value
Description Stores the hash of the entity object associated with this tracelog. Hash is computed using the object type code and its id.
DisplayName Trace Parameter Hash
Format None
IsValidForForm False
IsValidForRead True
LogicalName traceparameterhash
MaxValue 2147483647
MinValue -2147483648
RequiredLevel None
Type Integer

TraceRegardingId

Property Value
Description For internal use only.
DisplayName Trace Regarding
IsValidForForm False
IsValidForRead False
LogicalName traceregardingid
RequiredLevel SystemRequired
Targets traceregarding
Type Lookup

One-To-Many Relationships

Listed by SchemaName.

tracelog_parent_tracelog

Same as tracelog entity tracelog_parent_tracelog Many-To-One relationship.

Property Value
ReferencingEntity tracelog
ReferencingAttribute parenttracelogid
IsHierarchical False
IsCustomizable False
ReferencedEntityNavigationPropertyName tracelog_parent_tracelog
AssociatedMenuConfiguration Behavior: UseCollectionName
Group: Details
Label:
Order:
CascadeConfiguration Assign: NoCascade
Delete: Cascade
Merge: NoCascade
Reparent: NoCascade
Share: NoCascade
Unshare: NoCascade

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.

tracelog_EmailServerProfile

See emailserverprofile Entity tracelog_EmailServerProfile One-To-Many relationship.

tracelog_Mailbox

See mailbox Entity tracelog_Mailbox One-To-Many relationship.

organization_tracelog

See organization Entity organization_tracelog One-To-Many relationship.

lk_tracelog_createdonbehalfby

See systemuser Entity lk_tracelog_createdonbehalfby One-To-Many relationship.

lk_tracelog_modifiedby

See systemuser Entity lk_tracelog_modifiedby One-To-Many relationship.

lk_tracelog_createdby

See systemuser Entity lk_tracelog_createdby One-To-Many relationship.

tracelog_parent_tracelog

See tracelog Entity tracelog_parent_tracelog One-To-Many relationship.

lk_tracelog_modifiedonbehalfby

See systemuser Entity lk_tracelog_modifiedonbehalfby One-To-Many relationship.

See also

About the Entity Reference
Programming reference for Dynamics 365 Customer Engagement
Web API Reference
tracelog EntityType