Is it possile to expose the Time Entry created date in the apis?
The time entry api currently exposes the last modified date, but not the created date.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Seth B on 01 Jan, 2014 08:12 PM
TimeEntry already exposes 'created_on' which is a datetime value. That's the one you want. Sorry it's named inconsistently with 'updated_at'.
2 Posted by Sean Fielding on 02 Jan, 2014 04:35 PM
The "created_on" field does not appear to be a true created date field. If I create a time entry today (1/2/14) for 1/3/2014. The "created_on" field will contain 1/3/2014 for the date and the current time. What I really need is a field to provide the true creation date. i.e. I want to know that the 1/3 time entry was actually created on 1/2.
To me, it looks like the "created_on" field corresponds to the date the time entry is for and the time it was last updated.
Support Staff 3 Posted by Seth B on 02 Jan, 2014 06:27 PM
You're correct.
The created_on field represents when the time entry was started. For your API purposes, I'd just use the "updated_at" field to grab the newest modified entries.
Best,
— Seth
4 Posted by Sean Fielding on 02 Jan, 2014 06:51 PM
ok - so what I really need is the date and time the time entry was created. And for that value to not change the live of the time entry. Since this does not exist, it there a way to request an enhancement to have a true created date field?
Support Staff 5 Posted by Seth B on 02 Jan, 2014 06:57 PM
Request noted, but unlikely to change anytime soon Sean.
Thanks.
6 Posted by Sean Fielding on 02 Jan, 2014 06:58 PM
Understood :). Thanks for the information.