Posts that Peter Theill is monitoring

Subscribe to Posts that Peter Theill is monitoring 5 posts found

Nov 29, 2007
Avatar shaneandpeter 2 posts

Topic: 404 on time entry?

Good catch on the Contnt-Type…. That said, that’s just because of an error in copying the line from terminal. I actually have:

curl -v -H “Accept: application/xml” -H “Content-Type: application/xml” -u user:pass -L -d ‘<request><entry><project-id>####</project-id><person-id>####</person-id><date>20071125</date><hours>3.6</hours><description>Blah</description><todo-item-id>####</todo-item-id></entry></request>’ http://....updatelog.com/projects/####/time/save_entry

 
Nov 26, 2007
Avatar Jamis Buck 123 posts

Topic: 404 on time entry?

I can’t immediately duplicate this. However, shaneandpeter, I notice that one of your -H lines is “Contnt-Type”, rather than “Content-Type”, which would indeed cause problems. Does correcting the typo fix the problem?

 
Nov 26, 2007
Avatar Jamis Buck 123 posts

Topic: 404 on time entry?

I’m investigating this right now, and will let you know what I find out.

 
Nov 26, 2007
Avatar shaneandpeter 2 posts

Topic: 404 on time entry?

I’m also having some trouble with this. Tried the following:

curl -v -H “Accept: application/xml” -H “Contnt-Type: application/xml” -u {user}:{pass} -L -d ‘<request><entry><project-id>{id}</project-id><person-id>{id}</person-id><date>20071125</date><hours>3.6</hours><description>Blah</description><todo-item-id>{id}</todo-item-id></entry></request>’ http://{company}.updatelog.com/projects/{id}/time/save_entry

as well as:

curl -v -H “Accept: application/xml” -H “Contnt-Type: application/xml” -u {user}:{pass} -L -d ‘<request><entry><project-id>{id}</project-id><person-id>{id}</person-id><date>20071125</date><hours>3.6</hours><description>Blah</description><todo-item-id>{id}</todo-item-id></entry></request>’ http://{company}.updatelog.com/time/save_entry

we have time tracking enabled.

 
Nov 15, 2007
Avatar peterht 2 posts

Topic: 404 on time entry?

Hi,

I’ve been trying to have time tracking working but I get a 404. In the documentation, it says to use /time/save_entry. When I do so, I get a 404. I found some posts on the web that said to add the project id (/projects/123455/time/save_entry). I get a 404 as well.

What is the proper url for time tracking? The account does support time tracking and the API is enabled.

Thanks!