+ Add Question

getAllCompletedItems No Items

RM

I am calling getAllCompletedItems and all I receive is

{"items": [], "projects": {}}

I am a premium user, but i'm just not receiving any tasks. I have used the account.

I can get all tasks from a particular project_id using getCompletedItems.

Is there something special about this?

Only parameters I am sending is the api token.

All responses

David Trey staff
Replied on Jan 02, 2014 - 06:43

Hello Royston,

I'll pass your question to the developers and will let you know as soon as I hear from them.


Best regards,
David

Amir Salihefendic staff
Replied on Feb 05, 2014 - 12:22

Hi Royston

This isn't something we can reproduce. Is this still an issue?

Regards,
Amir

RM
Royston Malcomber premium
Replied on Mar 23, 2014 - 06:56

Hello, I have just tried it and it appears to work. Is there a time frame for the getAllCompletedItems ? I appear to only get the last weeks worth? I think this might of been my initial problem, there was not completed items in the past week when I first had this problem.

- Cheers,

Royston

David Trey staff
Replied on Mar 24, 2014 - 07:49

Hello Royston,

We've mentioned it in the documentation: https://todoist.com/API/

Optional parameters:
(...)
interval: Restrict time range, default is past 2 weeks, can be following:
past 2 weeks
past month
past 6 months
all


Best regards,
David

RM
Royston Malcomber premium
Replied on Mar 24, 2014 - 08:10

Thank you so much, I am a complete Arse