getNotes

fun getNotes(page: Int = DEFAULT_PAGE, pageSize: Int = DEFAULT_PAGE_SIZE, selectToDoNotes: Boolean, selectCompletedNotes: Boolean): JsonObject

Method to execute the request to get the notes list of the user

Return

the result of the request as JsonObject

Parameters

page

The number of the page to request to the backend

pageSize

The size of the result for the page

selectToDoNotes

Whether select the yet to-do notes

selectCompletedNotes

Whether select the completed notes