LiquidPlanner Classic Forum

Ask a Question
Back to All

why does the new task API documentation mention package_id?

Posted on behalf of Ricardo Signes. Original post date 2014-05-06

I wanted to make a new task in a given package, so I passed "package_id" with
the task's name in the POST. I did this because of this line in the API
documentation:

  • With task attributes including at least “name” (throw in a folder_id and
    package_id if you’re feeling adventurous)

This got me an error:

{"package_id":"can not be set for a task that already lives in a package"}

What?

I changed package_id to parent and it worked fine. Is the documentation wrong,
or am I confused? I think the docs could use more examples.