Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.
John Rivs edited this page Aug 8, 2015 · 1 revision

https://developer.wunderlist.com/documentation/endpoints/note

Method Description Arguments
getNotes Show all the notes in a list or task string $entity array $attributes = []
getNote Show a note int $noteId
createNote Create a new note for a task array $attributes = []
updateNote Update a note int $noteId array $attributes = []
deleteNote Delete a Note int $noteId
deleteNotes Deletes all notes in a list or task string $entity array $attributes = []

Examples

$w->getNotes('task', [
    'task_id' => 9876
]);
$w->getNotes('list', [
    'list_id' => 1234
]);

$w->getNote(2121);

$w->createNote([
    'task_id' => 9876,
    'content' => 'Here is the link for this routine https://www.youtube.com/watch?v=dQw4w9WgXcQ'
]);

$w->updateNote(2121, [
    'content' => 'For real this time, here is the routine https://www.youtube.com/watch?v=6_b7RDuLwcI'
]);

$w->deleteNote(2121);

$w->deleteNotes('task', [
    'task_id' => 9876
]);
$w->deleteNotes('list', [
    'list_id' => 1234
]);
Clone this wiki locally