Skip to main content
Skip table of contents

5.5 Message Resources

5.5.1 ThruPublicMessageInfo Structure

ThruPublicMessageInfo structure contains information about Thru message.

Item Name

Data Type

Sample Value

Comments

MessageID

Integer

1HPHF1D8FF8S0

Unique identification number of the message

UserID

Integer

1Q1OBQWVHTROE

Unique identification number of the user that is creator of message

Subject

String

test

Subject of the message

DateCreated

DateTime

/Date(1337611985780)/

Date and time when the message has been created (UTC)

DateSent

DateTime

/Date(1337611985780)/

Date and time when the message has been sent (UTC)

DateExpired

DateTime

/Date(1357070340000)/

Date and time after which message is concerned as expired (UTC)

CollectedFlag

Boolean

True

Indicates does message were read at least by one of recipients

PublicMessage

String

Public text

Text of the private part of the message

PrivateMessage

String

Private text

Text of the public part of the message

TrackingNo

String

T478-026-95732-36971

Number over the message is registered in Thru

RequestLogin

Boolean

false

Flag that indicate is the message request login for access by recipient

SendByClient

Boolean

false

Flag that indicate is the message was sent through the Thru Site or application.

NotifyFlag

Boolean

false

Flag that indicate is the notifications must be sent.

Priority

Integer

3

1 – High
2 – Low
3 – Normal

IsExpired

Boolean

False

Flag indicate is the message is expired

ExpireNow

Boolean

False

MsgHtmlTemplate

String

Html template over a message will be created

MsgTextTemplate

String

Text template over a message will be created

ToRecipients

Collection <ThruPublicMessageRecipientInfo>

List of recipient email addresses

CcRecipients

Collection
<ThruPublicMessageRecipientInfo>

List of Cc recipients

BccRecipients

Collection
<ThruPublicMessageRecipientInfo>

List of Bcc recipients

FoldersAttached

Collection
<ThruPublicFolderInfo >

Collection of Folder identifiers

FilesAttached

Collection
<ThruPublicFolderInfo >

Collection of File identifiers

Sample XML

CODE
<ThruPublicMessageInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
CODE
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
CODE
  <MessageId>0A2POFJY8EB8Q</MessageId>
CODE
  <UserId>1Q1OBQWVHTROE</UserId>
CODE
  <Subject>subject</Subject>
CODE
  <DateCreated>/Date(1352205302890)/</DateCreated>
CODE
  <DateSent></DateSent>
CODE
  <DateExpired>/Date(1353069302683)/</DateExpired>
CODE
  <CollectedFlag>false</CollectedFlag>
CODE
  <PublicMessage>body public</PublicMessage>
CODE
  <PrivateMessage>body private</PrivateMessage>
CODE
  <TrackingNo>T478-026-61916-68489</TrackingNo>
CODE
  <RequestLogin>false</RequestLogin>
CODE
  <SendByClient>true</SendByClient>
CODE
  <NotifyFlag>true</NotifyFlag>
CODE
  <Priority>3</Priority>
CODE
  <IsExpired>false</IsExpired>
CODE
  <ExpireNow>false</ExpireNow>
CODE
  <MsgHtmlTemplate>&lt;!DOCTYPE HTML PUBLIC &quot;
CODE
-/W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
CODE
&lt;html&gt; &lt;body&gt; &lt;span&gt;&lt;br/&gt; 
CODE
&lt;thru:bodyToken/&gt;
CODE
&lt;/span&gt&lt;/body&gt; &lt;/html&gt;</MsgHtmlTemplate>
CODE
  <MsgTextTemplate>
CODE
    This email includes secure access to files. 
CODE
    <thru:bodyToken/>
CODE
  </MsgTextTemplate>
CODE
  <ToRecipients>
CODE
    <ThruPublicMessageRecipientInfo>
CODE
      <MsgId>0A2POFJY8EB8Q</MsgId>
CODE
      <RecipientId>0MS5JFHL8E7N5</RecipientId>
CODE
      <RecipientEmail>gimpels@actimind.com</RecipientEmail>
CODE
      <Collected>false</Collected>
CODE
    </ThruPublicMessageRecipientInfo>
CODE
  </ToRecipients>
CODE
  <CcRecipients></CcRecipients>
CODE
  <BccRecipients></BccRecipients>
CODE
  <FoldersAttached></FoldersAttached>
CODE
  <FilesAttached></FilesAttached>
CODE
</ThruPublicMessageInfo>

Data Transfer Object

public class ThruPublicMessageInfo

{

  public string MessageId

  public string UserId

  public string Subject

  public ThruServerDateTime DateCreated

  public ThruServerDateTime DateSent

  public ThruServerDateTime DateExpired

  public bool? CollectedFlag

  public string PublicMessage

  public string PrivateMessage

  public string TrackingNo

  public bool? RequestLogin

  public bool? SendByClient

  public bool? NotifyFlag

  public int? Priority

  public bool? IsExpired

  public bool? ExpireNow

  public string MsgHtmlTemplate

  public string MsgTextTemplate

  public ThruPublicMessageRecipientInfo[] ToRecipients

  public ThruPublicMessageRecipientInfo[] CcRecipients

  public ThruPublicMessageRecipientInfo[] BccRecipients

  public ThruPublicFolderInfo[] FoldersAttached

  public ThruPublicFileInfo[] FilesAttached

}

5.5.2 ThruPublicMessagesListResult Structure

ThruPublicMessagesListResult structure contains collection of Thru messages.

Item Name

Data Type

Sample Value

Comments

Messages

Collection <ThruPublicMessageInfo >

Collection of Messages

Sample XML

CODE
<ThruPublicMessagesListResult xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
CODE
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
CODE
  <Messages>
CODE
    <ThruPublicMessageInfo>
CODE
      <MessageId>1R6NE5OZ8QHXA</MessageId>
CODE
      <UserId>1Q1OBQWVHTROE</UserId>
CODE
      <Subject>qsdasdfasd</Subject>
CODE
      <DateCreated>/Date(1337718371363)/</DateCreated>
CODE
      <DateSent>/Date(1337718371363)/</DateSent>
CODE
      <DateExpired>/Date(1337975940000)/</DateExpired>
CODE
      <CollectedFlag>true</CollectedFlag>
CODE
      <PublicMessage></PublicMessage>
CODE
      <PrivateMessage></PrivateMessage>
CODE
      <TrackingNo>T478-026-14576-91611</TrackingNo>
CODE
      <RequestLogin>false</RequestLogin>
CODE
      <SendByClient>false</SendByClient>
CODE
      <NotifyFlag>false</NotifyFlag>
CODE
      <Priority>3</Priority>
CODE
      <IsExpired>true</IsExpired>
CODE
      <ExpireNow>false</ExpireNow>
CODE
      <ToRecipients>
CODE
        <ThruPublicMessageRecipientInfo>
CODE
          <MsgId>1R6NE5OZ8QHXA</MsgId>
CODE
          <RecipientId>2MIMZFR1K0471</RecipientId>
CODE
          <RecipientEmail>dmitriy.babkin@actimind.com</RecipientEmail>
CODE
          <Collected>true</Collected>
CODE
        </ThruPublicMessageRecipientInfo>
CODE
      </ToRecipients>
CODE
      <CcRecipients></CcRecipients>
CODE
      <BccRecipients></BccRecipients>
CODE
      <FoldersAttached></FoldersAttached>
CODE
      <FilesAttached></FilesAttached>
CODE
    </ThruPublicMessageInfo>    
CODE
  </Messages>
CODE
</ThruPublicMessagesListResult>

Data Transfer Object

public class ThruPublicMessagesListResult

{

  public ThruPublicMessageInfo[] Messages

}

5.5.3 ThruPublicMessageRecipientInfo

ThruPublicMessageRecipientInfo structure contains information about the recipient of Thru message.

Item Name

Data Type

Sample Value

Comments

MsgId

String

1R6NE5OZ8QHXA

Unique identification number of the Thru message

RecipientId

String

2MIMZFR1K0471

Unique identification number of Recipient

RecipientEmail

String

test.test@test.com

Recipient e-mail

Collected

Boolean

true

Indicates does message were read by recipient

MsgRecipientLevelPublicID

String

Unique identification number of recipient level

Sample XML

CODE
<ThruPublicMessageRecipientInfo>
CODE
          <MsgId>1R6NE5OZ8QHXA</MsgId>
CODE
          <RecipientId>2MIMZFR1K0471</RecipientId>
CODE
          <RecipientEmail>test.test@test.com</RecipientEmail>
CODE
          <Collected>true</Collected>
CODE
          <MsgRecipientLevelPublicID>true</MsgRecipientLevelPublicID>
CODE
 </ThruPublicMessageRecipientInfo>

 

Data Transfer Object

public class ThruPublicMessageRecipientInfo

{

  public string MsgId

  public string RecipientId

  public string RecipientEmail

  public bool? Collected

  public string MsgRecipientLevelPublicID

}

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.