LiquidPlanner Classic Forum
Task Creation through API
Posted on behalf of Damian Sima. Original posting date 2013-03-12.
Hi there,
I'm trying to create a task through the API.
I'm doing the following:
Sending a HTTP Post to: https://app.liquidplanner.com/api/workspaces/*****/tasks
The payload is:
{"task":{"activityid":null,"work":0.0,"alerts":[],"project_id":null,"client_id":null,"created_at":null,"created_by":null,"custom_field_values":null,"done_on":null,"started_on":null,"delay_until":null,"description":"","earliest_finish":null,"earliest_start":null,"expected_finish":null,"expected_start":null,"p98_finish":null,"global_priority":[],"global_package_priority":null,"has_note":null,"high_effort_remaining":null,"is_done":null,"is_on_hold":null,"is_packaged_version":null,"is_shared":null,"latest_finish":null,"low_effort_remaining":null,"manual_alert":null,"max_effort":null,"name":"Follow up with Intrigo","owner_id":null,"parent_id":8152840,"promise_by":null,"external_reference":null,"package_id":null,"parent_ids":[8152840],"parent_crumbs":[],"package_ids":[],"package_crumbs":[],"updated_at":null,"updated_by":null,"id":null,"date":null,"start_date":null,"finish_date":null,"children":[],"type":"Task"}}
And I'm getting the following as response:
{"type":"Error","error":"InternalServerError","message":"Internal error; try again and perhaps it will work (no promises)."}
Could you please tell me what's wrong in my request?
Cheers, Damian.