Workfornt API error message: is not a top level object and can't be requested directly in internal | Community
Skip to main content
New Participant
May 10, 2023
Solved

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

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 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Doug_Den_Hoed__AtAppStore
Doug_Den_Hoed__AtAppStoreAccepted solution
New Participant
May 10, 2023


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
 

4 replies

Doug_Den_Hoed__AtAppStore
New Participant
May 10, 2023


Hah! You busted me @randyroberts. Early tee time…⛳️

 

Regards,

Doug

Translate
RandyRoberts
New Participant
May 10, 2023

Doug's up early today!  😀

Translate
Doug_Den_Hoed__AtAppStore
Doug_Den_Hoed__AtAppStoreAccepted solution
New Participant
May 10, 2023


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
 
Translate
RandyRoberts
New Participant
May 10, 2023

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

Translate