msdyn_sessionevent Entity Reference

Omnichannel for Customer Service offers a suite of capabilities that extend the power of Dynamics 365 Customer Service Enterprise to enable organizations to instantly connect and engage with their customers across digital messaging channels. An additional license is required to access Omnichannel for Customer Service. For more information, see the Dynamics 365 Customer Service pricing overview and Dynamics 365 Customer Service pricing plan pages.

Stores the session events for a session

Added by: Omnichannel – Base Solution

Messages

Message Web API Operation SDK Assembly
Assign PATCH [org URI]/api/data/v9.1/msdyn_sessionevents(msdyn_sessioneventid)
Update ownerid property.
AssignRequest
Create POST [org URI]/api/data/v9.1/msdyn_sessionevents
See Create
CreateRequest or
Create
Delete DELETE [org URI]/api/data/v9.1/msdyn_sessionevents(msdyn_sessioneventid)
See Delete
DeleteRequest or
Delete
GrantAccess GrantAccess Action GrantAccessRequest
IsValidStateTransition IsValidStateTransition Function IsValidStateTransitionRequest
ModifyAccess ModifyAccess Action ModifyAccessRequest
Retrieve GET [org URI]/api/data/v9.1/msdyn_sessionevents(msdyn_sessioneventid)
See Retrieve
RetrieveRequest or
Retrieve
RetrieveMultiple GET [org URI]/api/data/v9.1/msdyn_sessionevents
See Query Data
RetrieveMultipleRequest or
RetrieveMultiple
RetrievePrincipalAccess RetrievePrincipalAccess Function RetrievePrincipalAccessRequest
RetrieveSharedPrincipalsAndAccess RetrieveSharedPrincipalsAndAccess Function RetrieveSharedPrincipalsAndAccessRequest
RevokeAccess RevokeAccess Action RevokeAccessRequest
SetState PATCH [org URI]/api/data/v9.1/msdyn_sessionevents(msdyn_sessioneventid)
Update statecode and statuscode properties.
SetStateRequest
Update PATCH [org URI]/api/data/v9.1/msdyn_sessionevents(msdyn_sessioneventid)
See Update
UpdateRequest or
Update

Entity Properties

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

Writable attributes

These 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
Format None
IsValidForForm False
IsValidForRead True
IsValidForUpdate False
LogicalName importsequencenumber
MaxValue 2147483647
MinValue -2147483648
RequiredLevel None
Type Integer

msdyn_eventinfo

Property Value
Description Event information
DisplayName Event Info
IsValidForForm True
IsValidForRead True
LogicalName msdyn_eventinfo
RequiredLevel None
Type Picklist

msdyn_eventinfo 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

msdyn_eventreason 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
DateTimeBehavior UserLocal
Description Date and time of session event
DisplayName Event Time
Format DateOnly
IsValidForForm True
IsValidForRead True
LogicalName msdyn_eventtime
RequiredLevel None
Type DateTime

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

msdyn_eventtype 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

msdyn_name

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

msdyn_omnichannelsession

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

msdyn_sessioneventId

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

OverriddenCreatedOn

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

OwnerId

Added by: Active Solution Solution

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

OwnerIdType

Added by: Active Solution Solution

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
IsValidForCreate False
IsValidForForm True
IsValidForRead True
LogicalName statecode
RequiredLevel SystemRequired
Type State

statecode Options

Value Label DefaultStatus InvariantName
0 Active 1 Active
1 Inactive 2 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

statuscode Options

Value Label State
1 Active 0
2 Inactive 1

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

UTCConversionTimeZoneCode

Property Value
Description Time zone code that was in use when the record 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

Added by: Active Solution Solution

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

CreatedByName

Added by: Active Solution Solution

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

CreatedByYomiName

Added by: Active Solution Solution

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

CreatedOn

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

CreatedOnBehalfBy

Added by: Active Solution Solution

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
Targets systemuser
Type Lookup

CreatedOnBehalfByName

Added by: Active Solution Solution

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

CreatedOnBehalfByYomiName

Added by: Active Solution Solution

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

ModifiedBy

Added by: Active Solution Solution

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

ModifiedByName

Added by: Active Solution Solution

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

ModifiedByYomiName

Added by: Active Solution Solution

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

ModifiedOn

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

ModifiedOnBehalfBy

Added by: Active Solution Solution

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
Targets systemuser
Type Lookup

ModifiedOnBehalfByName

Added by: Active Solution Solution

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

ModifiedOnBehalfByYomiName

Added by: Active Solution Solution

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

msdyn_omnichannelsessionName

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

OwnerIdName

Added by: Active Solution Solution

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

OwnerIdYomiName

Added by: Active Solution Solution

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

OwningBusinessUnit

Added by: Active Solution Solution

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

OwningTeam

Added by: Active Solution Solution

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

OwningUser

Added by: Active Solution Solution

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

VersionNumber

Added by: Active Solution Solution

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

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.

msdyn_ocsession_sessionevent_nested

Added by: Active Solution Solution

See msdyn_ocsession Entity msdyn_ocsession_sessionevent_nested One-To-Many relationship.

See also

Introduction to Omnichannel for Customer Service
Developer guide for Omnichannel for Customer Service