All docs This doc
Skip to end of metadata
Go to start of metadata


Overview

The following operations allow you to work with reminders. Click an operation name to see details on how to use it.

For a sample proxy service that illustrates how to work with reminders, see Sample configuration

OperationDescription

createReminder

Creates a reminder.

listRemindersRetrieves reminders for a task or list.
updateReminderUpdates a reminder.

Operation details

This section provides further details on the operations related to reminders.

Creating a reminder

The createReminder operation creates a reminder.

createReminder
<wunderlist.createReminder>
    <taskId>{$ctx:taskId}</taskId>
    <date>{$ctx:date}</date>
	<deviceUdid>{$ctx:deviceUdid}</deviceUdid>
</wunderlist.createReminder>
Properties
  • taskId: The ID of the task to add the reminder to.
  • date: The date of the reminder.
  • deviceUdid: UDID of the device to which the reminder should be applied.
Sample request

Following is a sample REST/JSON request that can be handled by the createReminder operation.

Sample Request for createReminder
{
    "apiUrl": "https://a.wunderlist.com",
    "accessToken": "75f42c8c00558ed675a97ce105c957cbcf8bf4c80e925b20df536326ae6a",
    "clientId": "1b5d64550ba2aa022821",
    "taskId": "1201335173",
    "date": "2015-08-30T08:29:46.203Z",
    "deviceUdid": "same-udid-on-device-register"
}
Related Wunderlist documentation

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

Retrieving reminders for a task or list

The listReminders operation retrieves reminders for a task or list.

listReminders
<wunderlist.listReminders>
    <taskId>{$ctx:taskId}</taskId>
	<listId>{$ctx:listId}</listId>
</wunderlist.listReminders>
Properties
  • taskId: The ID of the task whose reminders would be retrieved.
  • listId: The ID of the list whose reminders would be retrieved.
Sample request

Following is a sample REST/JSON request that can be handled by the listReminders operation.

Sample Request for listReminders
{
    "apiUrl": "https://a.wunderlist.com",
    "accessToken": "75f42c8c00558ed675a97ce105c957cbcf8bf4c80e925b20df536326ae6a",
    "clientId": "1b5d64550ba2aa022821",
    "taskId": "162511981",
    "listId": "162511981"
}
Related Wunderlist documentation

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

Updating a reminder

The updateReminder operation updates a reminder.

updateReminder
<wunderlist.updateReminder>
    <date>{$ctx:date}</date>
    <revision>{$ctx:revision}</revision>
	<reminderId>{$ctx:reminderId}</reminderId>
</wunderlist.updateReminder>
Properties
  • date: The date of the reminder at once.
  • revision: Revision of the reminder to update.
  • reminderId: The ID of the reminder to update.
Sample request

Following is a sample REST/JSON request that can be handled by the updateReminder operation.

Sample Request for updateReminder
{
    "apiUrl": "https://a.wunderlist.com",
    "accessToken": "75f42c8c00558ed675a97ce105c957cbcf8bf4c80e925b20df536326ae6a",
    "clientId": "1b5d64550ba2aa022821",
    "date": "2015-11-30T08:29:46.203Z",
    "reminderId": "63676656",
    "revision": "1"
}
Related Wunderlist documentation

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

Sample configuration

Following is a sample proxy service that illustrates how to connect to Wunderlist with the init operation and use the createReminder operation. The sample request for this proxy can be found in the createReminder sample request. You can use this sample as a template for using other operations in this category.

Sample Proxy
<?xml version="1.0" encoding="UTF-8"?>
<proxy name="wunderlist_createReminder" startOnLoad="true" statistics="disable" trace="disable" transports="https,http" xmlns="http://ws.apache.org/ns/synapse">
   <target>
      <inSequence onError="faultHandlerSeq">
         <property name="apiUrl" expression="json-eval($.apiUrl)"/>
         <property name="clientId" expression="json-eval($.clientId)"/>
         <property name="accessToken" expression="json-eval($.accessToken)"/>
         <property name="taskId" expression="json-eval($.taskId)"/>
         <property name="date" expression="json-eval($.date)"/>
         <property name="deviceUdid" expression="json-eval($.deviceUdid)"/>
         <wunderlist.init>
            <apiUrl>{$ctx:apiUrl}</apiUrl>
            <clientId>{$ctx:clientId}</clientId>
            <accessToken>{$ctx:accessToken}</accessToken>
         </wunderlist.init>
         <wunderlist.createReminder>
            <taskId>{$ctx:taskId}</taskId>
            <date>{$ctx:date}</date>
            <deviceUdid>{$ctx:deviceUdid}</deviceUdid>
         </wunderlist.createReminder>
         <respond/>
      </inSequence>
      <outSequence>
         <send/>
      </outSequence>
   </target>
   <description/>
</proxy>
  • No labels