Console Webservice API

Message

Other API in Package

Console

Console System

Internal Console

Method Summary
Message createReply(String subject, String message)

Creates a new message and associates it with the given message. Only non-system messages can be followed

  deleteAttachment()

Deletes the attachment of this message.

File getAttachment()

Returns the attachment of this message, if any.

SystemDataView getChildMessages()

Returns messages that are children (one-to-many) for this message.

Date getCreateDate()

Returns the date this message was created.

Data getData()

Returns a Data of all this message's properties, except body

Date getDateRead()

Returns the date this message was read or null if it has not been read.

String getId()

Returns the message id.

String getMessage()

Returns the message

String getMessageType()

Returns the message type

String getPalId()

Returns the pal id for this message.

SystemDataView getParentMessages()

Returns parent chain (one-to-one) of messages for this message.

String getReceiverEmail()

Returns the message receiver

String getReceiverFirstName()

Returns the message receiver's first name

String getReceiverLastName()

Returns the message receiver's last name

String getSenderEmail()

Returns the message sender

String getSenderFirstName()

Returns the message sender's first name

String getSenderLastName()

Returns the message sender's last name

String getSubject()

Returns the subject.

String getTransactionCategory()

Returns the transaction category for this message, if it is associated with a transaction.

String getTransactionDescription()

Returns the transaction description for this message, if it is associated with a transaction.

String getTransactionId()

Returns the transaction id for this message, if it is associated with a transaction.

String getTransactionName()

Returns the transaction name for this message, if it is associated with a transaction.

  markRead()

Marks the specified message as having been read by the recipient.

  setAttachment(File file)

Sets the attachment of this message.

  setMessageType(String messageType)

Sets the message type

String toString()

Returns a description of this object.

Method Detail


Message createReply(String subject, String message)

Creates a new message and associates it with the given message. Only non-system messages can be followed

Parameters:

  • String   subject Required parameter. Maximum allowed size of parameter: 200
  • String   message Required parameter. Maximum allowed size of parameter: 3000

Returns:  Message

Since: 01-05-2010

top

deleteAttachment()

Deletes the attachment of this message.

Since: 01-16-2013

top

File getAttachment()

Returns the attachment of this message, if any.

Returns:  File

Since: 01-16-2013

top

SystemDataView getChildMessages()

Returns messages that are children (one-to-many) for this message.

Returns:  SystemDataView


DataList Name: ChildMessages
DataList Keys/Column Name Column Type Read Only
id String  
subject String  
private Boolean  
createDate Date  
readDate Date  
receiverEmail String  
messageType String  
message String  
replyTo String  
palId String  
transactionId String  
txId String  
txName String  
txDescription String  
txCategory String  
senderId String  
senderEmail String  
senderFirstName String  
senderLastName String  
recipientId String  
recipientEmail String  
recipientFirstName String  
recipientLastName String  

Since: 01-05-2010

top

Date getCreateDate()

Returns the date this message was created.

Returns:  Date

Since: 01-05-2010

top

Data getData()

Returns a Data of all this message's properties, except body

Returns:  Data

Since: 01-11-2013

top

Date getDateRead()

Returns the date this message was read or null if it has not been read.

Returns:  Date

Since: 01-05-2010

top

String getId()

Returns the message id.

Returns:  String

Since: 01-05-2010

top

String getMessage()

Returns the message

Returns:  String

Since: 01-16-2013

top

String getMessageType()

Returns the message type

Returns:  String

Since: 01-16-2013

top

String getPalId()

Returns the pal id for this message.

Returns:  String

Since: 01-14-2010

top

SystemDataView getParentMessages()

Returns parent chain (one-to-one) of messages for this message.

Returns:  SystemDataView


DataList Name: ParentMessages
DataList Keys/Column Name Column Type Read Only
id String  
subject String  
private Boolean  
createDate Date  
readDate Date  
receiverEmail String  
messageType String  
message String  
replyTo String  
palId String  
transactionId String  
txId String  
txName String  
txDescription String  
txCategory String  
senderId String  
senderEmail String  
senderFirstName String  
senderLastName String  
recipientId String  
recipientEmail String  
recipientFirstName String  
recipientLastName String  

Since: 01-05-2010

top

String getReceiverEmail()

Returns the message receiver

Returns:  String

Since: 01-15-2010

top

String getReceiverFirstName()

Returns the message receiver's first name

Returns:  String

Since: 01-20-2010

top

String getReceiverLastName()

Returns the message receiver's last name

Returns:  String

Since: 01-20-2010

top

String getSenderEmail()

Returns the message sender

Returns:  String

Since: 01-15-2010

top

String getSenderFirstName()

Returns the message sender's first name

Returns:  String

Since: 01-20-2010

top

String getSenderLastName()

Returns the message sender's last name

Returns:  String

Since: 01-20-2010

top

String getSubject()

Returns the subject.

Returns:  String

Since: 01-05-2010

top

String getTransactionCategory()

Returns the transaction category for this message, if it is associated with a transaction.

Returns:  String

Since: 01-20-2010

top

String getTransactionDescription()

Returns the transaction description for this message, if it is associated with a transaction.

Returns:  String

Since: 01-20-2010

top

String getTransactionId()

Returns the transaction id for this message, if it is associated with a transaction.

Returns:  String

Since: 01-05-2010

top

String getTransactionName()

Returns the transaction name for this message, if it is associated with a transaction.

Returns:  String

Since: 01-20-2010

top

markRead()

Marks the specified message as having been read by the recipient.

Since: 01-05-2010

top

setAttachment(File file)

Sets the attachment of this message.

Parameters:

  • File   file Required parameter.

Since: 01-16-2013

top

setMessageType(String messageType)

Sets the message type

Parameters:

  • String   messageType Required parameter. Maximum allowed size of parameter: 20

Since: 01-16-2013

top

String toString()

Returns a description of this object.

Returns:  String

Since: 01-05-2010

top
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. API Date: Nov 18, 2024 01:04 PM