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

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

  • May 10, 2023
  • 4 replies
  • 1077 views

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.
Best answer by Doug_Den_Hoed_AtAppStore


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

RandyRoberts
Community Advisor
Community Advisor
May 10, 2023

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

Doug_Den_Hoed_AtAppStore
Community Advisor
Doug_Den_Hoed_AtAppStoreCommunity AdvisorAccepted solution
Community Advisor
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
 
RandyRoberts
Community Advisor
Community Advisor
May 10, 2023

Doug's up early today!  😀

Doug_Den_Hoed_AtAppStore
Community Advisor
Community Advisor
May 10, 2023


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

 

Regards,

Doug