LiquidPlanner Classic Forum
Creating a task - Error 400
over 5 years ago by LiquidPlanner Support(edited)
Posted on behalf of a customer. Original post date 2013-07-08
I'm developing an integration in Salesforce to automate the creation of tasks in LP. However, I keep receiving errors when attempting to create a task. The request details are as follows:
Endpoint URL: https://app.liquidplanner.com/api/workspaces/xxxxx/tasks
Method: POST
Request Body: {"task": {"name": "learn the API"}}
RESPONSE:
status_code: 400
status: bad request
response body: {"type":"Error","error":"BadArgument","message":"Expected a hash of attribute values for task parameter"}
I followed the tutorial on how to GET details from LP via Salesforce, which works perfectly, but creating a task in LP from Salesforce is proving very difficult.