Class Index
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondelete(ThreadNotesDeleteRequest threadNotesDeleteRequest) Deletes thread note(s).get()get(MthListNotesParameters queryParams) Returns a list of notes from one or more threads.patch(ThreadNoteUpdateRequest threadNoteUpdateRequest) Updates the text of a note.path()post(ThreadNoteCreateRequest threadNoteCreateRequest) Creates a new note in the thread.
-
Field Details
-
rc
-
parent
-
noteId
-
-
Constructor Details
-
Index
-
-
Method Details
-
path
-
path
-
get
Returns a list of notes from one or more threads. All filters are applied as "AND" conditions.The records are sorted by `creationTime` in ascending order.
HTTP Method: get Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/notes Rate Limit Group: Medium App Permission: SMS
- Throws:
RestExceptionIOException
-
get
- Throws:
RestExceptionIOException
-
post
public ThreadNoteModel post(ThreadNoteCreateRequest threadNoteCreateRequest) throws RestException, IOException Creates a new note in the thread.The thread must be in `Open` status and the current user must be in the list of thread monitors for this operation to succeed.
HTTP Method: post Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/notes Rate Limit Group: Medium App Permission: SMS
- Throws:
RestExceptionIOException
-
delete
public String delete(ThreadNotesDeleteRequest threadNotesDeleteRequest) throws RestException, IOException Deletes thread note(s).The corresponding threads must be in `Open` status and the calling user must be the notes' author for this operation to succeed.
HTTP Method: delete Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/notes Rate Limit Group: Medium App Permission: SMS
- Throws:
RestExceptionIOException
-
patch
public ThreadNoteModel patch(ThreadNoteUpdateRequest threadNoteUpdateRequest) throws RestException, IOException Updates the text of a note.The thread must be in `Open` status and the calling user must be the note's author for this operation to succeed.
HTTP Method: patch Endpoint: /restapi/{apiVersion}/account/{accountId}/message-threads/notes/{noteId} Rate Limit Group: Medium App Permission: SMS
- Throws:
RestExceptionIOException
-