anibalcucco/basecamp-wrapper — Issue #14: Cannot retrieve time entries
Author: BobaFaux
Created: 2011-11-21 17:52:04+00:00
State: open

I am trying to retrieve time entries for a specific todo item but it doesn't seem to be working.

Initially I tried:

Basecamp::TimeEntry.find(:all, :params => { :todo_item_id => 114748954 })

but that resulted in:

ActiveResource::MissingPrefixParam: project_id prefix_option is missing

so I tried:

Basecamp::TimeEntry.find(:all, :params => { :todo_item_id => 114748954, :project_id => 8471706 })

but I keep getting a nil result

I have also tried accessing all time entries for a project like:

Basecamp::TimeEntry.all(8471706, 1)

and I get:

ActiveResource::MissingPrefixParam: todo_item_id prefix_option is missing

is there a way to get the time entries for an individual todo_item? I would even be happy enough to get the time entries by page for a project.

Cheers,

Jon