Skip to main content

Create a to-do

The following code sample will create a to-do (task ID = 6) due at the end of the current day. It applies to associate with ID 1.
While the to-do technically doesn’t have a start time, that field will be set with a default value. For example, noon the current day. Don’t assume that the start time is empty.

Complete a to-do

To mark a to-do as completed is essentially just to set the status to 3. This example completes the to-do with ID 88, with end-time = now and start-time = 5 minutes ago.

List overdue to-dos

This sample will list all follow-ups of type 6 that have not been started and a deadline in the past.