Create Time for a Bug with Rest Api

50 views
Skip to first unread message

Lukas

unread,
Oct 18, 2012, 7:56:39 AM10/18/12
to devtarge...@googlegroups.com
Hello,

Is it possible to add time for Bug trough Rest Api?

I am trying the following

url:    .../targetprocess2/api/v1/Times
data:  <Time Description="testX" Spent="1" Remain="0"><Project Id="1"/><Assignable Id="33"/></Time>

But I'm getting 400 bad request.


Thank You
Lukas

Scott Palmer

unread,
May 21, 2013, 12:28:00 PM5/21/13
to devtarge...@googlegroups.com, lukas...@gmail.com
You have to add a User to that Time object.

Scott

Scott Palmer

unread,
May 21, 2013, 12:30:08 PM5/21/13
to devtarge...@googlegroups.com, lukas...@gmail.com
See http://md5.tpondemand.com/api/v1/index/meta or more specifically http://md5.tpondemand.com/api/v1/Times/meta
Note under "Resource References" that User is marked as required.


Scott


On Thursday, October 18, 2012 7:56:39 AM UTC-4, Lukas wrote:
Reply all
Reply to author
Forward
0 new messages