Expand my Community achievements bar.

SOLVED

Workfornt API error message: is not a top level object and can't be requested directly in internal

Avatar

Level 1

Hey Community,

I get for certain API request the following error message: 

is not a top level object and can't be requested directly in internal.

Does anyone of you know how to set the request to retrieve data?
 
Many thanks in advance

Br,
Sandro 
1 Accepted Solution

Avatar

Correct answer by
Level 10


Hi @Sroider,

 

Predecessors are a secondary object (ie child property) of a (primary) Task object, so try something like this:

 

https://YOURWORKFRONTDOMAIN.workfront.com/attask/api/v15.0/task/search?fields=predecessors:*

 
Regards,
Doug
 

View solution in original post

4 Replies

Avatar

Level 10

Are you looking for a task that is a predecessor to another task?

Avatar

Correct answer by
Level 10


Hi @Sroider,

 

Predecessors are a secondary object (ie child property) of a (primary) Task object, so try something like this:

 

https://YOURWORKFRONTDOMAIN.workfront.com/attask/api/v15.0/task/search?fields=predecessors:*

 
Regards,
Doug
 

Avatar

Level 10


Hah! You busted me @RandyRoberts. Early tee time…

 

Regards,

Doug