Is it possile to expose the Time Entry created date in the apis?

Sean Fielding's Avatar

Sean Fielding

01 Jan, 2014 06:36 PM

The time entry api currently exposes the last modified date, but not the created date.

  1. Support Staff 1 Posted by Seth B on 01 Jan, 2014 08:12 PM

    Seth B's Avatar

    TimeEntry already exposes 'created_on' which is a datetime value. That's the one you want. Sorry it's named inconsistently with 'updated_at'.

    • Seth
  2. 2 Posted by Sean Fielding on 02 Jan, 2014 04:35 PM

    Sean Fielding's Avatar

    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.

  3. Support Staff 3 Posted by Seth B on 02 Jan, 2014 06:27 PM

    Seth B's Avatar

    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. 4 Posted by Sean Fielding on 02 Jan, 2014 06:51 PM

    Sean Fielding's Avatar

    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?

  5. Support Staff 5 Posted by Seth B on 02 Jan, 2014 06:57 PM

    Seth B's Avatar

    Request noted, but unlikely to change anytime soon Sean.

    Thanks.

  6. 6 Posted by Sean Fielding on 02 Jan, 2014 06:58 PM

    Sean Fielding's Avatar

    Understood :). Thanks for the information.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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

Recent Discussions

25 Jul, 2020 12:06 AM
25 Jul, 2020 12:05 AM
08 Jul, 2020 11:46 PM
06 Jul, 2020 11:35 PM
29 Jun, 2020 10:44 PM