Skip to main content
May 10, 2023 8:48 AM UTC
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
Community Advisor
May 10, 2023 12:25 PM UTC


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
 
Learn more at www.atappstore.com, email doug.denhoed@atappstore.com, or tag me here @Doug_Den_Hoed_AtAppStore.

4 replies

RandyRoberts
Community Advisor
Community Advisor
May 10, 2023 12:16 PM UTC

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

Translate
Doug_Den_Hoed_AtAppStore
Community Advisor
Doug_Den_Hoed_AtAppStoreCommunity AdvisorAccepted solution
Community Advisor
May 10, 2023 12:25 PM UTC


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
Learn more at www.atappstore.com, email doug.denhoed@atappstore.com, or tag me here @Doug_Den_Hoed_AtAppStore.
RandyRoberts
Community Advisor
Community Advisor
May 10, 2023 12:29 PM UTC

Doug's up early today!  😀

Translate
Doug_Den_Hoed_AtAppStore
Community Advisor
Community Advisor
May 10, 2023 12:34 PM UTC


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

 

Regards,

Doug

Translate
Learn more at www.atappstore.com, email doug.denhoed@atappstore.com, or tag me here @Doug_Den_Hoed_AtAppStore.