Forum Discussion

iahiqosolutions's avatar
12 years ago

Private messaging via REST API

I do apologize if this has already been asked and answered (I looked through support and knowledge base but couldn't find it).   I want to implement private messaging functionality via REST API. I...
  • AdamN's avatar
    12 years ago

    Hi iahiqosolutions,

     

    Regarding the methods you could not find:

    • Change message status on "Unread" or "New"
      • The "Note" class has a "markread" method. There doesn't appear to be a way to mark it new/unread.
    • Get message status("Read", "Unread" or "New")
      • There's no method or attribute to get the status directly; however, you can retreive only unread messages using the "mailbox/notes/inbox/unread" method on the "User" class.
    • Sort private messages in the inbox or outbox by Sent or Received date(Descending and Ascending)
    • Sort private messages in the inbox or outbox by Subject(Descending and Ascending)
      • There currently are not parameters available for sorting the notes in the response.

    Regards,

     

    Adam