ToDo Lists
Create to-do item
post /api/http/todo
Create a new To-Do item, with an optional due date
Required permissions: Update to-dos
|
Request arguments |
---|
object with fields: text : string ( Required )
dueDate : string (format: full-date) ( Nullable and Optional , defaults to null )
|
|
Get all to-do items
get /api/http/todo
Get all To-Do items that match given parameters. Parameters are applied as ' AND ' filters.
Required permissions: View to-dos
|
Request arguments |
---|
$skip : string (Query) ( Nullable and Optional , defaults to null )
| $top : integer (format: int32) (Query) ( Nullable and Optional , defaults to 100 )
| open : boolean (Query) ( Nullable and Optional , defaults to null )
| from : string (format: full-date) (Query) ( Nullable and Optional , defaults to null )
| till : string (format: full-date) (Query) ( Nullable and Optional , defaults to null )
|
Response |
---|
object with fields: next : string ( Required )
totalCount : integer (format: int32) ( Nullable and Optional , defaults to null )
data : array of TodoItemRecord ( Required )
|
|
Update to-do item
patch /api/http/todo/{id}
Update an existing To-Do item. Optional parameters will be ignored when not specified and updated otherwise.
Required permissions: Update to-dos
|
Request arguments |
---|
id : string (Path) ( Required )
| object with fields: text : string ( Nullable and Optional , defaults to null )
dueDate : string (format: full-date) ( Nullable and Optional , defaults to null )
open : boolean ( Nullable and Optional , defaults to null )
|
|
Delete to-do item
delete /api/http/todo/{id}
Delete an existing To-Do item
Required permissions: Update to-dos
|
Request arguments |
---|
id : string (Path) ( Required )
|
|
Last modified: 06 September 2023