MarkMessage

Description

The Markmessage method marks an inbound fax as ‘Read’ or ‘Unread’. Faxes that are marked as ‘Read’ will no longer be returned in lists by the GetList method.

Note: This method only works for users with active RX service.

Formal Definition

https://ws.interfax.net/inbound.asmx?op=MarkMessage

Input

Name Type Comments
Username String Name of the user authenticating to the API
Password String The password for the Username
MarkAsRead Boolean True – mark as read, False – mark as unread
MessageID Integer Transaction ID of the fax to mark as read/unread

Output

Name Type Comments
MarkMessageResult Integer Returns 0 for success, otherwise an error code indicating what went wrong; see the Error Codes, below. All errors are listed in Appendix A

Error Codes

Value Description
-150 Internal System Error. An exception occurs at any point in the execution of the web service method.
-1003 Authentication error: the user cannot be authenticated when either the username or the password is incorrect OR any other last error occurred when authenticating the user.
-3001 Invalid MessageID: the fax does not exist or another error occurs when validating the transaction ID
-3003 Image doesn’t exist, or the method is not able to mark the fax message for another reason