Mark
Mark a transaction as read/unread.
Arguments
Name (bold if mandatory) | Type | Comments | Default |
---|---|---|---|
id | Number | The transaction ID of the fax to be marked. | None, mandatory |
unread | Boolean | FALSE = mark as read. TRUE = mark as unread. |
FALSE |
Response
Standard HTTP response codes apply.
Sample Call
Raw HTTP
POST /inbound/faxes/229167854/mark HTTP/1.1
Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=
Host: https://rest.interfax.net/
cURL
Mark a transaction as read
curl "https://rest.interfax.net/inbound/faxes/229167854/mark" ^
-X POST ^
-H content-length:0 ^
-u username:password