Upravit

Sdílet prostřednictvím


Session event (msdyn_sessionevent) table/entity reference (Microsoft Dynamics 365)

Stores the session events for a session

Messages

The following table lists the messages for the Session event (msdyn_sessionevent) table. Messages represent operations that can be performed on the table. They may also be events.

Name
Is Event?
Web API Operation SDK for .NET
Assign
Event: True
PATCH /msdyn_sessionevents(msdyn_sessioneventid)
Update the ownerid property.
AssignRequest
Associate
Event: True
Associate records Associate records
BulkRetain
Event: True
BulkRetain Learn to use messages with the SDK for .NET
Create
Event: True
POST /msdyn_sessionevents
See Create
Create records
CreateMultiple
Event: True
CreateMultiple CreateMultipleRequest
Delete
Event: True
DELETE /msdyn_sessionevents(msdyn_sessioneventid)
See Delete
Delete records
Disassociate
Event: True
Disassociate records Disassociate records
GrantAccess
Event: True
GrantAccess GrantAccessRequest
IsValidStateTransition
Event: False
IsValidStateTransition IsValidStateTransitionRequest
ModifyAccess
Event: True
ModifyAccess ModifyAccessRequest
PurgeRetainedContent
Event: True
PurgeRetainedContent Learn to use messages with the SDK for .NET
Restore
Event: True
Restore Learn to use messages with the SDK for .NET
Retain
Event: True
Retain Learn to use messages with the SDK for .NET
Retrieve
Event: True
GET /msdyn_sessionevents(msdyn_sessioneventid)
See Retrieve
Retrieve records
RetrieveMultiple
Event: True
GET /msdyn_sessionevents
See Query data
Query data
RetrievePrincipalAccess
Event: True
RetrievePrincipalAccess RetrievePrincipalAccessRequest
RetrieveSharedPrincipalsAndAccess
Event: True
RetrieveSharedPrincipalsAndAccess RetrieveSharedPrincipalsAndAccessRequest
RevokeAccess
Event: True
RevokeAccess RevokeAccessRequest
RollbackRetain
Event: True
RollbackRetain Learn to use messages with the SDK for .NET
SetState
Event: True
PATCH /msdyn_sessionevents(msdyn_sessioneventid)
Update the statecode and statuscode properties.
SetStateRequest
Update
Event: True
PATCH /msdyn_sessionevents(msdyn_sessioneventid)
See Update
Update records
UpdateMultiple
Event: True
UpdateMultiple UpdateMultipleRequest
Upsert
Event: False
PATCH /msdyn_sessionevents(msdyn_sessioneventid)
See Upsert a table row
UpsertRequest
UpsertMultiple
Event: False
UpsertMultiple UpsertMultipleRequest
ValidateRetentionConfig
Event: True
ValidateRetentionConfig Learn to use messages with the SDK for .NET

Properties

The following table lists selected properties for the Session event (msdyn_sessionevent) table.

Property Value
DisplayName Session event
DisplayCollectionName Session events
SchemaName msdyn_sessionevent
CollectionSchemaName msdyn_sessionevents
EntitySetName msdyn_sessionevents
LogicalName msdyn_sessionevent
LogicalCollectionName msdyn_sessionevents
PrimaryIdAttribute msdyn_sessioneventid
PrimaryNameAttribute msdyn_name
TableType Standard
OwnershipType UserOwned

Writable columns/attributes

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

ImportSequenceNumber

Property Value
Description Sequence number of the import that created this record.
DisplayName Import Sequence Number
IsValidForForm False
IsValidForRead True
LogicalName importsequencenumber
RequiredLevel None
Type Integer
MaxValue 2147483647
MinValue -2147483648

msdyn_eventinfo

Property Value
Description Event information
DisplayName Event Info
IsValidForForm True
IsValidForRead True
LogicalName msdyn_eventinfo
RequiredLevel None
Type Picklist
DefaultFormValue -1
GlobalChoiceName msdyn_sessionevent_msdyn_eventinfo

msdyn_eventinfo Choices/Options

Value Label
192350000 Default

msdyn_eventreason

Property Value
Description Reason for session event
DisplayName Event Reason
IsValidForForm True
IsValidForRead True
LogicalName msdyn_eventreason
RequiredLevel None
Type Picklist
DefaultFormValue -1
GlobalChoiceName msdyn_sessionevent_msdyn_eventreason

msdyn_eventreason Choices/Options

Value Label
192350000 Default
192350001 AgentTransfer
192350002 QueueTransfer
192350003 PreChatSurvey
192350004 PostchatSurvey
192350005 UserAccept
192350006 AutoAccept
192350007 Closed
192350008 AgentInviteRejected
192350009 AgentInviteTimeout
192350010 AgentDisconnected
192350011 AgentTimeout
192350012 AgentTransferred
192350013 CustomerTimeout
192350014 CustomerDisconnect
192350015 SessionTimeout
192350016 Escalated
192350017 Rejected
192350018 TimedOut
192350019 Accepted
192350020 AutoAccepted
192350021 Disconnect
192350022 Timeout
192350023 End
192350024 BotTransferSession
192350025 BotEndConversation
192350026 AssignToAgentBySupervisor
192350027 AssignToQueueBySupervisor
192350028 CustomerRejoin
192350029 CustomerEndConversation
192350030 AgentEndConversation
192350031 SupervisorTransferToAgent
192350032 AgentEndConsult
192350033 ForceClose
192350034 OverflowQueueTransfer
192350035 OverflowEndConversation
192350036 OverflowAssignToQueue
192350037 SessionEndAfterWrapUp
192350038 ConversationExpired
192350039 Consult
192350040 AgentMonitor
192350041 AgentConversationJoin
192350042 Preview

msdyn_eventtime

Property Value
Description Date and time of session event
DisplayName Event Time
IsValidForForm True
IsValidForRead True
LogicalName msdyn_eventtime
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior True
DateTimeBehavior UserLocal
Format DateOnly
ImeMode Auto
SourceTypeMask 0

msdyn_eventtype

Property Value
Description Type of session event e.g. accept, reject etc
DisplayName Event Type
IsValidForForm True
IsValidForRead True
LogicalName msdyn_eventtype
RequiredLevel None
Type Picklist
DefaultFormValue -1
GlobalChoiceName msdyn_sessionevent_msdyn_eventtype

msdyn_eventtype Choices/Options

Value Label
192350000 Default
192350001 QueueAssigned
192350002 AgentAssigned
192350003 AgentAccepted
192350004 AgentInviteRejected
192350005 SessionEnd
192350006 SessionCreated
192350007 AgentInviteTimeout
192350008 Escalated
192350009 ParticipantInvited
192350010 ParticipantInviteRejected
192350011 ParticipantInviteAccepted
192350012 ParticipantInviteTimeout
192350013 ParticipantEnd
192350014 AgentDisconnected
192350015 AgentTimeout
192350016 CustomerTimeout
192350017 CustomerDisconnected
192350018 TransferedToAgent
192350019 TransferedToQueue
192350020 ParticipantLeft
192350021 BotTransferSession
192350022 BotEndConversation
192350023 AssignToAgentBySupervisor
192350024 AssignToQueueBySupervisor
192350025 CustomerEndConversation
192350026 AgentEndConversation
192350027 AgentAddedToC2Chat
192350028 AgentRemovedFromC2Chat
192350029 AgentEndConsult
192350030 SupervisorForceClose
192350031 SessionEndAfterWrapUp
192350032 ExpiredConversationClose

msdyn_name

Property Value
Description The name of the custom entity.
DisplayName Name
IsValidForForm True
IsValidForRead True
LogicalName msdyn_name
RequiredLevel ApplicationRequired
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

msdyn_omnichannelsession

Property Value
Description Unique identifier for the associated session
DisplayName Omni Channel Session
IsValidForForm True
IsValidForRead True
LogicalName msdyn_omnichannelsession
RequiredLevel None
Type Lookup
Targets msdyn_ocsession

msdyn_sessioneventId

Property Value
Description Unique identifier for entity instances
DisplayName Session event
IsValidForForm False
IsValidForRead True
LogicalName msdyn_sessioneventid
RequiredLevel SystemRequired
Type Uniqueidentifier

OverriddenCreatedOn

Property Value
Description Date and time that the record was migrated.
DisplayName Record Created On
IsValidForForm False
IsValidForRead True
LogicalName overriddencreatedon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateOnly
ImeMode Inactive
SourceTypeMask 0

OwnerId

Property Value
Description Owner Id
DisplayName Owner
IsValidForForm True
IsValidForRead True
LogicalName ownerid
RequiredLevel SystemRequired
Type Owner
Targets systemuser, team

OwnerIdType

Property Value
Description Owner Id Type
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName owneridtype
RequiredLevel SystemRequired
Type EntityName

statecode

Property Value
Description Status of the Session event
DisplayName Status
IsValidForForm True
IsValidForRead True
LogicalName statecode
RequiredLevel SystemRequired
Type State
DefaultFormValue
GlobalChoiceName msdyn_sessionevent_statecode

statecode Choices/Options

Value Details
0 Label: Active
DefaultStatus: 1
InvariantName: Active
1 Label: Inactive
DefaultStatus: 2
InvariantName: Inactive

statuscode

Property Value
Description Reason for the status of the Session event
DisplayName Status Reason
IsValidForForm True
IsValidForRead True
LogicalName statuscode
RequiredLevel None
Type Status
DefaultFormValue
GlobalChoiceName msdyn_sessionevent_statuscode

statuscode Choices/Options

Value Details
1 Label: Active
State:0
TransitionData: None
2 Label: Inactive
State:1
TransitionData: None

TimeZoneRuleVersionNumber

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

UTCConversionTimeZoneCode

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

Read-only columns/attributes

These columns/attributes return false for both IsValidForCreate and IsValidForUpdate. Listed by SchemaName.

CreatedBy

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

CreatedOn

Property Value
Description Date and time when the record was created.
DisplayName Created On
IsValidForForm True
IsValidForRead True
LogicalName createdon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateAndTime
ImeMode Inactive
SourceTypeMask 0

CreatedOnBehalfBy

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

ModifiedBy

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

ModifiedOn

Property Value
Description Date and time when the record was modified.
DisplayName Modified On
IsValidForForm True
IsValidForRead True
LogicalName modifiedon
RequiredLevel None
Type DateTime
CanChangeDateTimeBehavior False
DateTimeBehavior UserLocal
Format DateAndTime
ImeMode Inactive
SourceTypeMask 0

ModifiedOnBehalfBy

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

OwnerIdName

Property Value
Description Name of the owner
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName owneridname
RequiredLevel SystemRequired
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

OwnerIdYomiName

Property Value
Description Yomi name of the owner
DisplayName
IsValidForForm False
IsValidForRead True
LogicalName owneridyominame
RequiredLevel SystemRequired
Type String
Format Text
FormatName Text
ImeMode Auto
IsLocalizable False
MaxLength 100

OwningBusinessUnit

Property Value
Description Unique identifier for the business unit that owns the record
DisplayName Owning Business Unit
IsValidForForm True
IsValidForRead True
LogicalName owningbusinessunit
RequiredLevel None
Type Lookup
Targets businessunit

OwningTeam

Property Value
Description Unique identifier for the team that owns the record.
DisplayName Owning Team
IsValidForForm False
IsValidForRead True
LogicalName owningteam
RequiredLevel None
Type Lookup
Targets team

OwningUser

Property Value
Description Unique identifier for the user that owns the record.
DisplayName Owning User
IsValidForForm False
IsValidForRead True
LogicalName owninguser
RequiredLevel None
Type Lookup
Targets systemuser

VersionNumber

Property Value
Description Version Number
DisplayName Version Number
IsValidForForm False
IsValidForRead True
LogicalName versionnumber
RequiredLevel None
Type BigInt
MaxValue 9223372036854775807
MinValue -9223372036854775808

Many-to-One relationships

These relationships are many-to-one. Listed by SchemaName.

business_unit_msdyn_sessionevent

One-To-Many Relationship: businessunit business_unit_msdyn_sessionevent

Property Value
ReferencedEntity businessunit
ReferencedAttribute businessunitid
ReferencingAttribute owningbusinessunit
ReferencingEntityNavigationPropertyName owningbusinessunit
IsHierarchical
CascadeConfiguration Archive: Restrict
Assign: NoCascade
Delete: Restrict
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

lk_msdyn_sessionevent_createdby

One-To-Many Relationship: systemuser lk_msdyn_sessionevent_createdby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute createdby
ReferencingEntityNavigationPropertyName createdby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

lk_msdyn_sessionevent_createdonbehalfby

One-To-Many Relationship: systemuser lk_msdyn_sessionevent_createdonbehalfby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute createdonbehalfby
ReferencingEntityNavigationPropertyName createdonbehalfby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

lk_msdyn_sessionevent_modifiedby

One-To-Many Relationship: systemuser lk_msdyn_sessionevent_modifiedby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute modifiedby
ReferencingEntityNavigationPropertyName modifiedby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

lk_msdyn_sessionevent_modifiedonbehalfby

One-To-Many Relationship: systemuser lk_msdyn_sessionevent_modifiedonbehalfby

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute modifiedonbehalfby
ReferencingEntityNavigationPropertyName modifiedonbehalfby
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

msdyn_ocsession_sessionevent_nested

One-To-Many Relationship: msdyn_ocsession msdyn_ocsession_sessionevent_nested

Property Value
ReferencedEntity msdyn_ocsession
ReferencedAttribute activityid
ReferencingAttribute msdyn_omnichannelsession
ReferencingEntityNavigationPropertyName msdyn_omnichannelsession
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: Cascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

owner_msdyn_sessionevent

One-To-Many Relationship: owner owner_msdyn_sessionevent

Property Value
ReferencedEntity owner
ReferencedAttribute ownerid
ReferencingAttribute ownerid
ReferencingEntityNavigationPropertyName ownerid
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

team_msdyn_sessionevent

One-To-Many Relationship: team team_msdyn_sessionevent

Property Value
ReferencedEntity team
ReferencedAttribute teamid
ReferencingAttribute owningteam
ReferencingEntityNavigationPropertyName owningteam
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

user_msdyn_sessionevent

One-To-Many Relationship: systemuser user_msdyn_sessionevent

Property Value
ReferencedEntity systemuser
ReferencedAttribute systemuserid
ReferencingAttribute owninguser
ReferencingEntityNavigationPropertyName owninguser
IsHierarchical
CascadeConfiguration Archive: NoCascade
Assign: NoCascade
Delete: NoCascade
Merge: NoCascade
Reparent: NoCascade
RollupView: NoCascade
Share: NoCascade
Unshare: NoCascade

One-to-Many relationships

These relationships are one-to-many. Listed by SchemaName.

msdyn_sessionevent_AsyncOperations

Many-To-One Relationship: asyncoperation msdyn_sessionevent_AsyncOperations

Property Value
ReferencingEntity asyncoperation
ReferencingAttribute regardingobjectid
ReferencedEntityNavigationPropertyName msdyn_sessionevent_AsyncOperations
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

msdyn_sessionevent_BulkDeleteFailures

Many-To-One Relationship: bulkdeletefailure msdyn_sessionevent_BulkDeleteFailures

Property Value
ReferencingEntity bulkdeletefailure
ReferencingAttribute regardingobjectid
ReferencedEntityNavigationPropertyName msdyn_sessionevent_BulkDeleteFailures
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

msdyn_sessionevent_DuplicateBaseRecord

Many-To-One Relationship: duplicaterecord msdyn_sessionevent_DuplicateBaseRecord

Property Value
ReferencingEntity duplicaterecord
ReferencingAttribute baserecordid
ReferencedEntityNavigationPropertyName msdyn_sessionevent_DuplicateBaseRecord
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

msdyn_sessionevent_DuplicateMatchingRecord

Many-To-One Relationship: duplicaterecord msdyn_sessionevent_DuplicateMatchingRecord

Property Value
ReferencingEntity duplicaterecord
ReferencingAttribute duplicaterecordid
ReferencedEntityNavigationPropertyName msdyn_sessionevent_DuplicateMatchingRecord
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

msdyn_sessionevent_MailboxTrackingFolders

Many-To-One Relationship: mailboxtrackingfolder msdyn_sessionevent_MailboxTrackingFolders

Property Value
ReferencingEntity mailboxtrackingfolder
ReferencingAttribute regardingobjectid
ReferencedEntityNavigationPropertyName msdyn_sessionevent_MailboxTrackingFolders
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

msdyn_sessionevent_PrincipalObjectAttributeAccesses

Many-To-One Relationship: principalobjectattributeaccess msdyn_sessionevent_PrincipalObjectAttributeAccesses

Property Value
ReferencingEntity principalobjectattributeaccess
ReferencingAttribute objectid
ReferencedEntityNavigationPropertyName msdyn_sessionevent_PrincipalObjectAttributeAccesses
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

msdyn_sessionevent_ProcessSession

Many-To-One Relationship: processsession msdyn_sessionevent_ProcessSession

Property Value
ReferencingEntity processsession
ReferencingAttribute regardingobjectid
ReferencedEntityNavigationPropertyName msdyn_sessionevent_ProcessSession
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

msdyn_sessionevent_SyncErrors

Many-To-One Relationship: syncerror msdyn_sessionevent_SyncErrors

Property Value
ReferencingEntity syncerror
ReferencingAttribute regardingobjectid
ReferencedEntityNavigationPropertyName msdyn_sessionevent_SyncErrors
IsCustomizable True
AssociatedMenuConfiguration AvailableOffline: True
Behavior: DoNotDisplay
Group: Details
Label:
MenuId: null
Order:
QueryApi: null
ViewId: 00000000-0000-0000-0000-000000000000

See also

Dataverse table/entity reference
Dataverse Web API Reference