I’d like to use the REST API to create/update time logs from another system. I’m using the Pro Hosted version. The /tasks endpoint seems half baked to me…
GET /api/v1/tasks
Only returns properties id, description, and duration. Obvious missing things are client_id and date/time info.
POST /api/v1/tasks
I can’t figure out how to set date and duration.
Browsing the source, it looks like the timing information is stored in a JSON column in the database. That’s fine for me; pretty sure I could figure it out if I could just GET it back out again.
Am I right that the /tasks endpoint is sorta half-baked (or at least under-documented?) and are there any plans to improve it? Thanks for the info – just trying to validate that I’m not missing something obvious as I determine the best way to accomplish the integration. I’m actually trying to move away from FreshBooks and this is my first obstacle in that.
So, I still think there’s some real shoring up to make the /tasks endpoint more accessible, but I was able to POST the following to /tasks to create a task with time logs: