Sign-in

LiquidPlanner
30-day free trial
30-second sign-up

About our forums

Our forum platform uses a separate login to identify you; it's not the same as your LiquidPlanner application login.

>> Login to the forums now 

If you wish to post and subscribe to change notifications, you will need to create a forum account.

After you login, you can access your profile by clicking your name floating at the top of the page. Clicking your name will also allow you to subscribe to e-mail change notification messages for the section you are currently looking at. 

Note, the forums are a public area. Do not post any private workspace content.

Join the LiquidPlanner Developer Forum > How to put a task on hold using the api

Hi there,

Is it possible to set a task to be on hold using the api (and switching it to false)?

Thank you in advance

André

August 18, 2010 | Registered CommenterMary Ellen

Use a PUT request to perform an update, and specify a value of "true" or "false" for the "is_on_hold" attribute.

If you're using an HTTP client that does not implement the PUT method, you can POST using a _method parameter with a value of "PUT".

Example -- suppose your workspace ID is 123 and the task ID is 456.

Then, using curl, you might do:

curl https://app.liquidplanner.com/api/workspaces/123/tasks/456?_method=PUT -d '{"task": {"is_on_hold": "true"}}'

to set that task on hold.

See http://www.liquidplanner.com/api-guide/restful-resources/http-methods.html

August 18, 2010 | Registered CommenterBrett Bender

Thanks Brett and Mary, that was very helpful.

August 19, 2010 | Registered CommenterAndré Brunetta