LiquidPlanner Classic Forum
endpoint for 'Request Update' feature
I'm looking to utilize the 'Request Update' feature via the API to programmatically nudge task Owners when certain conditions are met. I wasn't able to locate the endpoint for the feature in the API docs -- is it available?
Posted by Kyle Miller over 4 years ago
Analytics Reports - API - Filters
Hi all,
I am starting to work with Project Roll-up and Project Baseline reports called by liquidplanner API.
In the documentation I can see how you can set 2 optional parameters: start_date, end_date, but, is there any other parameters to set.
For example: if I want to filter a project to get the datails of tasks of this project.
Do I have to save many instances of the report, instead of being able to filter by each report.
Many thanks in advance.
Gorka.
Posted by Gorka over 4 years ago
What types of questions can I ask on this forum?
Posted by LiquidPlanner Support over 4 years ago
URL to Workspace with Quick Filter
We're looking to open our workspace with a pre-defined Quick Filter. Does a URL such as https://app.liquidplanner.com/space/{workspace_id}/projects?filter=foo exist that would allow me to seed the Quick Filter search bar?
Thanks!
Posted by Kyle Miller over 4 years ago
Upload Documents via API
Hello,
I'm having issues uploading files up to Liquid Planner through the use of the API.
In an effort to solve this, I even created a simple form that uploads a data file to a temporary file then attempts the upload by calling the API.
So far I found a complete example that should work provided in this form but still seem to not be having any luck.
https://developer.liquidplanner.com/discuss/5d5c31a3f2fb1d038ed1c396
Code Snip it:
//https://developer.liquidplanner.com/discuss/5d5c31a3f2fb1d038ed1c396
$url = "https://app.liquidplanner.com/api/workspaces/" . $workspaceID . "/tasks/" . $taskId . "/documents";
$file = realpath($fileLocation);
$data = array(
"document[file_name]" => $fileName,
"document[description]" => $fileDesc,
"document[attached_file]" => "@".$fileLocation,
);
var_dump($data);
$conn = curl_init();
curl_setopt($conn, CURLOPT_HEADER, 0);
curl_setopt($conn, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($conn, CURLOPT_ENCODING, "");
curl_setopt($conn, CURLOPT_USERPWD, $email . ":" . $password );
curl_setopt($conn, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($conn, CURLOPT_POST, true);
curl_setopt($conn, CURLOPT_URL, $url);
curl_setopt($conn, CURLOPT_POSTFIELDS, $data);
$response = curl_exec($conn);
print_r( $response."\n" );
curl_close($conn);
This is what var_dump is reporting:
C:\wamp64\www\EIS\LP_Success.php:88:
array (size=3)
'document[file_name]' => string 'ckt2.pdf' (length=8)
'document[description]' => string 'application/pdf' (length=15)
'document[attached_file]' => string '@C:\wamp64\www\EIS\uploads\ckt2.pdf' (length=35)
{"type":"Error","error":"BadArgument","message":"You must POST a document[attached_file] part when creating a document."}
I even went as far as to create a submit form coupled with a process file form to try to get this to work outside of my PHP App. If you would like me to send you the full source which is 2 files I'll be happy to do so.
Thanks
Miguel Grajeda
Posted by Miguel Grajeda over 4 years ago
Who responds to posts on the new Developer Forum?
Posted by LiquidPlanner Support over 4 years ago
Do I need an account to post on the Forum?
Posted by LiquidPlanner Support over 4 years ago
Expose History / Audit Trail Through API
*Posted on behalf of Kurt Brodie. Original posting date 2019-05-21.*
Hello,
I am trying to figure out if there is any way to pull out the full history / audit trail for a particular treeitem id using the LP API. I was hoping I could simply use ```https://app.liquidplanner.com/api/v1/workspaces/<workspaceid>/treeitems/<treeitemid>/history```
Unfortunately that didn't work. Does anyone know of a method to expose/get the history on specific treeitem ids? Is it possible through the existing API release?
Posted by LiquidPlanner Support over 4 years ago
Billing Rates in the API?
*Posted on behalf of Jeremy W. Original posting date 2019-04-03.*
Currently I don't see a way to get the billing rates data from liquid planner through the API like I can in the UI. Is there a way to do this or will you add this capability? Having it available through the API would give us the ability to improve some of our automation and usage of your product.
Posted by LiquidPlanner Support over 4 years ago
getting tasks last_updated uses what timezone?
*Posted on behalf of Jeremy W. Original posting date 2019-04-01.*
If I do a request something like:
```/tasks?filter[]=item_type=Task&filter[]=last_updated after 2019-03-15``` does it use midnight UTC or is it using my user's (by token) timezone?
Posted by LiquidPlanner Support over 4 years ago