Table of Contents

Class SfMessagingSession

Namespace
NetCoreForce.Models
Assembly
NetCoreForce.Models.dll

Messaging Session

SObject Name: MessagingSession

Custom Object: False

public class SfMessagingSession : SObject
Inheritance
SfMessagingSession
Inherited Members

Properties

AcceptTime

Accept Time

Name: AcceptTime

SF Type: datetime

Nillable: True

[JsonProperty(PropertyName = "acceptTime")]
public DateTimeOffset? AcceptTime { get; set; }

Property Value

DateTimeOffset?

AgentMessageCount

Agent Message Count

Name: AgentMessageCount

SF Type: int

Nillable: True

[JsonProperty(PropertyName = "agentMessageCount")]
[Updateable(false)]
[Createable(false)]
public int? AgentMessageCount { get; set; }

Property Value

int?

AgentType

Agent Type

Name: AgentType

SF Type: picklist

Nillable: True

[JsonProperty(PropertyName = "agentType")]
[Updateable(false)]
[Createable(true)]
public string AgentType { get; set; }

Property Value

string

Case

ReferenceTo: Case

RelationshipName: Case

[JsonProperty(PropertyName = "case")]
[Updateable(false)]
[Createable(false)]
public SfCase Case { get; set; }

Property Value

SfCase

CaseId

Case ID

Name: CaseId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "caseId")]
public string CaseId { get; set; }

Property Value

string

ChannelEndUserFormula

Concatenated Messaging Channel and Messaging User

Name: ChannelEndUserFormula

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "channelEndUserFormula")]
[Updateable(false)]
[Createable(false)]
public string ChannelEndUserFormula { get; set; }

Property Value

string

ChannelGroup

Group

Name: ChannelGroup

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "channelGroup")]
public string ChannelGroup { get; set; }

Property Value

string

ChannelIntent

Intent

Name: ChannelIntent

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "channelIntent")]
public string ChannelIntent { get; set; }

Property Value

string

ChannelKey

Channel Key

Name: ChannelKey

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "channelKey")]
[Updateable(false)]
[Createable(false)]
public string ChannelKey { get; set; }

Property Value

string

ChannelLocale

Locale

Name: ChannelLocale

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "channelLocale")]
public string ChannelLocale { get; set; }

Property Value

string

ChannelName

Channel Name

Name: ChannelName

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "channelName")]
[Updateable(false)]
[Createable(false)]
public string ChannelName { get; set; }

Property Value

string

ChannelType

Channel Type

Name: ChannelType

SF Type: picklist

Nillable: True

[JsonProperty(PropertyName = "channelType")]
[Updateable(false)]
[Createable(false)]
public string ChannelType { get; set; }

Property Value

string

Conversation

ReferenceTo: Conversation

RelationshipName: Conversation

[JsonProperty(PropertyName = "conversation")]
[Updateable(false)]
[Createable(false)]
public SfConversation Conversation { get; set; }

Property Value

SfConversation

ConversationId

Conversation ID

Name: ConversationId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "conversationId")]
[Updateable(false)]
[Createable(true)]
public string ConversationId { get; set; }

Property Value

string

CreatedBy

ReferenceTo: User

RelationshipName: CreatedBy

[JsonProperty(PropertyName = "createdBy")]
[Updateable(false)]
[Createable(false)]
public SfUser CreatedBy { get; set; }

Property Value

SfUser

CreatedById

Created By ID

Name: CreatedById

SF Type: reference

Nillable: False

[JsonProperty(PropertyName = "createdById")]
[Updateable(false)]
[Createable(false)]
public string CreatedById { get; set; }

Property Value

string

CreatedDate

Created Date

Name: CreatedDate

SF Type: datetime

Nillable: False

[JsonProperty(PropertyName = "createdDate")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? CreatedDate { get; set; }

Property Value

DateTimeOffset?

EndTime

End Time

Name: EndTime

SF Type: datetime

Nillable: True

[JsonProperty(PropertyName = "endTime")]
[Updateable(false)]
[Createable(true)]
public DateTimeOffset? EndTime { get; set; }

Property Value

DateTimeOffset?

EndUserAccount

ReferenceTo: Account

RelationshipName: EndUserAccount

[JsonProperty(PropertyName = "endUserAccount")]
[Updateable(false)]
[Createable(false)]
public SfAccount EndUserAccount { get; set; }

Property Value

SfAccount

EndUserAccountId

Account ID

Name: EndUserAccountId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "endUserAccountId")]
[Updateable(false)]
[Createable(false)]
public string EndUserAccountId { get; set; }

Property Value

string

EndUserContact

ReferenceTo: Contact

RelationshipName: EndUserContact

[JsonProperty(PropertyName = "endUserContact")]
[Updateable(false)]
[Createable(false)]
public SfContact EndUserContact { get; set; }

Property Value

SfContact

EndUserContactId

Contact ID

Name: EndUserContactId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "endUserContactId")]
[Updateable(false)]
[Createable(false)]
public string EndUserContactId { get; set; }

Property Value

string

EndUserMessageCount

End User Message Count

Name: EndUserMessageCount

SF Type: int

Nillable: True

[JsonProperty(PropertyName = "endUserMessageCount")]
[Updateable(false)]
[Createable(false)]
public int? EndUserMessageCount { get; set; }

Property Value

int?

EndedByType

Ended By Type

Name: EndedByType

SF Type: picklist

Nillable: True

[JsonProperty(PropertyName = "endedByType")]
[Updateable(false)]
[Createable(true)]
public string EndedByType { get; set; }

Property Value

string

Id

Messaging Session ID

Name: Id

SF Type: id

Nillable: False

[JsonProperty(PropertyName = "id")]
[Updateable(false)]
[Createable(false)]
public string Id { get; set; }

Property Value

string

IsDeleted

Deleted

Name: IsDeleted

SF Type: boolean

Nillable: False

[JsonProperty(PropertyName = "isDeleted")]
[Updateable(false)]
[Createable(false)]
public bool? IsDeleted { get; set; }

Property Value

bool?

LastModifiedBy

ReferenceTo: User

RelationshipName: LastModifiedBy

[JsonProperty(PropertyName = "lastModifiedBy")]
[Updateable(false)]
[Createable(false)]
public SfUser LastModifiedBy { get; set; }

Property Value

SfUser

LastModifiedById

Last Modified By ID

Name: LastModifiedById

SF Type: reference

Nillable: False

[JsonProperty(PropertyName = "lastModifiedById")]
[Updateable(false)]
[Createable(false)]
public string LastModifiedById { get; set; }

Property Value

string

LastModifiedDate

Last Modified Date

Name: LastModifiedDate

SF Type: datetime

Nillable: False

[JsonProperty(PropertyName = "lastModifiedDate")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? LastModifiedDate { get; set; }

Property Value

DateTimeOffset?

LastReferencedDate

Last Referenced Date

Name: LastReferencedDate

SF Type: datetime

Nillable: True

[JsonProperty(PropertyName = "lastReferencedDate")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? LastReferencedDate { get; set; }

Property Value

DateTimeOffset?

LastViewedDate

Last Viewed Date

Name: LastViewedDate

SF Type: datetime

Nillable: True

[JsonProperty(PropertyName = "lastViewedDate")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? LastViewedDate { get; set; }

Property Value

DateTimeOffset?

Lead

ReferenceTo: Lead

RelationshipName: Lead

[JsonProperty(PropertyName = "lead")]
[Updateable(false)]
[Createable(false)]
public SfLead Lead { get; set; }

Property Value

SfLead

LeadId

Lead ID

Name: LeadId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "leadId")]
public string LeadId { get; set; }

Property Value

string

MessagingChannel

ReferenceTo: MessagingChannel

RelationshipName: MessagingChannel

[JsonProperty(PropertyName = "messagingChannel")]
[Updateable(false)]
[Createable(false)]
public SfMessagingChannel MessagingChannel { get; set; }

Property Value

SfMessagingChannel

MessagingChannelId

Messaging Channel ID

Name: MessagingChannelId

SF Type: reference

Nillable: False

[JsonProperty(PropertyName = "messagingChannelId")]
[Updateable(false)]
[Createable(true)]
public string MessagingChannelId { get; set; }

Property Value

string

MessagingEndUser

ReferenceTo: MessagingEndUser

RelationshipName: MessagingEndUser

[JsonProperty(PropertyName = "messagingEndUser")]
[Updateable(false)]
[Createable(false)]
public SfMessagingEndUser MessagingEndUser { get; set; }

Property Value

SfMessagingEndUser

MessagingEndUserId

Messaging User ID

Name: MessagingEndUserId

SF Type: reference

Nillable: False

[JsonProperty(PropertyName = "messagingEndUserId")]
[Updateable(false)]
[Createable(true)]
public string MessagingEndUserId { get; set; }

Property Value

string

Name

Messaging Session Name

Name: Name

SF Type: string

AutoNumber field

Nillable: False

[JsonProperty(PropertyName = "name")]
[Updateable(false)]
[Createable(false)]
public string Name { get; set; }

Property Value

string

Opportunity

ReferenceTo: Opportunity

RelationshipName: Opportunity

[JsonProperty(PropertyName = "opportunity")]
[Updateable(false)]
[Createable(false)]
public SfOpportunity Opportunity { get; set; }

Property Value

SfOpportunity

OpportunityId

Opportunity ID

Name: OpportunityId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "opportunityId")]
public string OpportunityId { get; set; }

Property Value

string

Origin

Origin

Name: Origin

SF Type: picklist

Nillable: False

[JsonProperty(PropertyName = "origin")]
[Updateable(false)]
[Createable(true)]
public string Origin { get; set; }

Property Value

string

OwnerId

Owner ID

Name: OwnerId

SF Type: reference

Nillable: False

[JsonProperty(PropertyName = "ownerId")]
public string OwnerId { get; set; }

Property Value

string

PreviewDetails

Preview Details

Name: PreviewDetails

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "previewDetails")]
[Updateable(false)]
[Createable(false)]
public string PreviewDetails { get; set; }

Property Value

string

SObjectTypeName

[JsonIgnore]
public static string SObjectTypeName { get; }

Property Value

string

SessionKey

Session Key

Name: SessionKey

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "sessionKey")]
[Updateable(false)]
[Createable(true)]
public string SessionKey { get; set; }

Property Value

string

StartTime

Start Time

Name: StartTime

SF Type: datetime

Nillable: True

[JsonProperty(PropertyName = "startTime")]
[Updateable(false)]
[Createable(true)]
public DateTimeOffset? StartTime { get; set; }

Property Value

DateTimeOffset?

Status

Status

Name: Status

SF Type: picklist

Nillable: False

[JsonProperty(PropertyName = "status")]
[Updateable(false)]
[Createable(true)]
public string Status { get; set; }

Property Value

string

SystemModstamp

System Modstamp

Name: SystemModstamp

SF Type: datetime

Nillable: False

[JsonProperty(PropertyName = "systemModstamp")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? SystemModstamp { get; set; }

Property Value

DateTimeOffset?

TargetUser

ReferenceTo: User

RelationshipName: TargetUser

[JsonProperty(PropertyName = "targetUser")]
[Updateable(false)]
[Createable(false)]
public SfUser TargetUser { get; set; }

Property Value

SfUser

TargetUserId

User ID

Name: TargetUserId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "targetUserId")]
public string TargetUserId { get; set; }

Property Value

string