More fields in GET Time Sleep in API

Hi,

Could you please update on how to get ‘comments’ in API GET for Time sleep
task

{ “timeslip”:
{
“url”:“https://api.freeagent.com/v2/timeslips/25”,
“user”:“https://api.freeagent.com/v2/users/1”,
“project”:“https://api.freeagent.com/v2/projects/1”,
“task”:“https://api.freeagent.com/v2/tasks/1”,
“dated_on”:“2011-08-15”,
“hours”:“12.0”,
“updated_at”:“2011-08-16T13:32:00Z”,
“created_at”:“2011-08-16T13:32:00Z”
}}

Thanks
Kajan

Hi Kajan,

Good news! Our API already includes the comment when you send a GET request
to the /timeslips endpoint.

{
“timeslip”: {
“dated_on”: “2015-06-23”,
“hours”: “20.0”,
“task”: “https://api.sandbox.freeagent.com/v2/tasks/1551”,
“url”: “https://api.sandbox.freeagent.com/v2/timeslips/3939”,
“created_at”: “2015-06-23T15:07:28Z”,
“updated_at”: “2015-06-29T14:37:46Z”,
“comment”: “This is a comment”,
“project”: “https://api.sandbox.freeagent.com/v2/projects/3125”,
“user”: “https://api.sandbox.freeagent.com/v2/users/794
}
}

It looks like the example in our documentation needs to be updated, I’ll
look in this.
I hope this helps and sorry for the confusion!

Kind regards,
Dave JOn 29 June 2015 at 14:25, Kajakaran Balakrishna kajan@vedaconsulting.co.uk wrote:

Hi,

Could you please update on how to get ‘comments’ in API GET for Time sleep
task

{ “timeslip”:
{
“url”:“https://api.freeagent.com/v2/timeslips/25”,
“user”:“https://api.freeagent.com/v2/users/1”,
“project”:“https://api.freeagent.com/v2/projects/1”,
“task”:“https://api.freeagent.com/v2/tasks/1”,
“dated_on”:“2011-08-15”,
“hours”:“12.0”,
“updated_at”:“2011-08-16T13:32:00Z”,
“created_at”:“2011-08-16T13:32:00Z”
}}

Thanks
Kajan


You received this message because you are subscribed to the Google Groups
“FreeAgent API” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to freeagent_api+unsubscribe@googlegroups.com.
To post to this group, send email to freeagent_api@googlegroups.com.
Visit this group at http://groups.google.com/group/freeagent_api.
For more options, visit https://groups.google.com/d/optout.

David Jones
Senior Support Engineer

FreeAgent