Update Todo List


This request changes the user todo list, you can add or remove items from the todo list.

Resource

PATCH /me/todo

Parameters

None

Payload

Fields

name Patch Operations

x1ListItems

add, remove

x1ListItems.communcation

replace

x1ListItems.comments

replace

Response

None

Context

Authorization

User

Errors

Example

Request
PATCH https://xelion.nl/api/v1/master/me/todo
Payload

add an item to the todo list, value is the Referable oid

{
  "operations": [
      {
      "op": "add",
      "path": "/x1ListItems/1"
      "value": "1651479"
      },
      {
      "op": "replace",
      "path": "/x1ListItems/1/communication"
      "value": "1486979"
      },
      {
      "op": "replace",
      "path": "/x1ListItems/1/comments"
      "value": "do this fast"
      }
    ]
}

remove an item from the todo list, value is the X1ListItem oid
do not use the referable oid, because it could be added multiple times to the todo list!

{
    "operations": [
            {
            "op": "remove",
            "path": "/x1ListItems/234562"
            }
    ]
}