LiquidPlanner Classic Forum

Ask a Question
Back to All

Creating a task - Error 400


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:
Method: POST
Request Body: {"task": {"name": "learn the API"}}

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.