Click or drag to resize

MessageControllerGetMailBoxMessageReplies Method

Get the replies for a message in the specified mailbox. The logged in user must have access to the mailbox.

Namespace:  MedTunnelMsg.Controllers
Assembly:  MedTunnelMsg (in MedTunnelMsg.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public Result GetMailBoxMessageReplies(
	int MessageId,
	int MailBoxId,
	bool UnReadOnly = false
)

Parameters

MessageId
Type: SystemInt32
Internal Message Id
MailBoxId
Type: SystemInt32
Internal Mailbox Id
UnReadOnly (Optional)
Type: SystemBoolean
Get unread messages only? Defaults to false

Return Value

Type: Result
Result.Data contains a list of Message objects. Result.ReturnCode values:
  • 0 = An unknown error occurred
  • 1 = Success
  • 12 = Unauthorized
Examples
PHP/Curl
curl -X GET -k 
        -H "Authorization:PutAuthorizationTokenHere" 
        https://server.medtunnel.com/medtunnelmsg/api/Message/GetMailBoxMessageReplies?MessageId=9999&MailBoxId=4412&UnReadOnly=false
See Also