Retrieve a page of todo's for a contact
When you need the list of todo's for a specific contact. Note that currently the user_id is the same id as logged in user.
Path parameters
-
the user id making the request
-
the user id about whom the request is being made
-
the page requested - starting at 1
GET
/todo/profile/{user_id}/{unique_id}/{page}
curl \
-X GET https://YOURSITE.infoodle.com/apiv2/todo/profile/1234/1234/1 \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"items": [
{
"id": 99,
"unique_id": 123,
"added_by_workflow_step_id": 321,
"added_by_workflow_step_action_id": 321,
"created_by": [
{
"unique_id": 1355,
"name": "john smith",
"date": "2024-04-31 12:13:14",
"date_show": "31st April 2024 12:13:14"
}
],
"task": "make a phone call",
"description": "call them and ask them how they are",
"todo": [
{
"by": "Me",
"by_text": "Me"
}
],
"when": [
{
"type": "On",
"date": "2018-12-05",
"date_show": "5th December 2018"
}
],
"permissions": [
{
"edit": "Y",
"delete": "Y"
}
]
}
],
"paging": {
"total": 1,
"pages": 1,
"thispage": 1,
"firstpage": 1,
"initialpage": "string",
"finalpage": "string",
"lastpage": 1,
"shown_on_this_page": 1
}
}