LiquidPlanner Classic Forum
Unexpected results with events filter
I am trying to get only events scheduled for after Jan 01, 2022. When I send "https://app.liquidplanner.com/api/v1/workspaces/[my workspace id]/events?filter=earliest_start%20before%202022-01-01" it returns events scheduled after today instead. When I try the same filter, but using "before" instead of after, it returns no events. Is there a different command needed to access past events?
Posted by Ajisafe Adajan over 2 years ago
How to check contents of folder?
Hi There,
I'm wanting to be able to look at a folder through the API and find out what items are contained within the folder. Is that possible?
The ultimate goal is to be able to automatically close folders where all items contained within are done. I can do this in the reverse, brute-force method by finding a folder id and then parsing all items for the folder parent but that seems quite wasteful.
Thanks,
Joe.
Posted by Joe Hasty over 3 years ago
Is it possible to create a sub-folder at a certain position through the API?
I am able to create a folder by calling https://app.liquidplanner.com/api/v1/workspaces/:id/folders, but the folder is put at the bottom of the list.
I am also able to change its position by calling https://app.liquidplanner.com/api/v1/workspaces/:id/folders/:id/move_after, but this basically means two separate api calls.
The question is if the folder can be created at a certain position with only one call.
Thank you
Posted by George Matache over 3 years ago
filter timesheet entries by project tag
I am wondering if you can filter timesheet entry by tag or by if it does not have a tag. Tried these but they don't seem to be working for me:
https://app.liquidplanner.com/api/v1/workspaces/81511/timesheet_entries?start_date=2019-10-01&tags does_not_include intercompany
https://app.liquidplanner.com/api/v1/workspaces/81511/timesheet_entries?start_date=2019-10-01&tags include client
Posted by Peter Yoder almost 4 years ago
How to use LP API in JavaScript?
Hi,
I am trying to run this JS code from the doc:
https://developer.liquidplanner.com/reference#get_account
var data = JSON.stringify(false);
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://app.liquidplanner.com/api/v1/account");
xhr.send(data);
On running it on the browser, I get a prompt to enter username and password, after entering the credentials, I get the following error on local system and also on server after deploying:
Access to XMLHttpRequest at 'https://app.liquidplanner.com/api/v1/account' from origin 'http://localhost:3002' (https://myservername.com/) has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Is there any parameter configuration to be added on the xhr request to make it work?
Posted by Deepak MS almost 4 years ago
How to move a task from one package to another?
Hello,
I came across this doc:
https://developer.liquidplanner.com/docs/create-and-update-examples
However, I couldn't find the api which helps me in moving the task from one package to another. I see that parent_id needs to be updated, but I did not get any api which does that.
I also checked:
https://developer.liquidplanner.com/docs/moving-and-packaging-items
% curl https://app.liquidplanner.com/api/v1/workspaces/:id/tasks/:id/move_before?other_id=:id -X POST
% curl https://app.liquidplanner.com/api/v1/workspaces/:id/tasks/:id/move_after?other_id=:id -X POST
I know the workspace id and I know the task id(which needs to be moved). But where do I specify target package \ folder id in the above link?
I had a look at all the available APIs too. I did not find anything specific to parent_id updation:
https://app.liquidplanner.com/api/v1/help/urls
Kindly let me know.
Posted by Deepak MS almost 4 years ago
Add comment to task
I wish to add a comment to a task with the API
It seems I must use POST
https://app.liquidplanner.com/api/v1/workspaces/workspace_id/treeitems/treeitem_id/comments ?
I have tried using it and it seems to work sometimes and others not. I add the tree item id as my task
comment.item_id ??? What is this? I have tried using 0 and it worked a couple of times and added 2 comments. I tried other values and sometimes it succeeds, but when I look at the comments it isn't there. Many times I just get a 500 error even though I am doing something which worked previously. Any help with this please?
Posted by Rob Freer about 4 years ago
API endpoint to get projects from list of project ids
Hi,
I want to use the API to get projects given a string of project ids. I don't want to have to pull in all projects in the workspace, just the ones that match the passed in ids.
Is there an endpoint that will accomplish this?
Thanks
Posted by Sean about 4 years ago
Microsoft Teams integration
Has anyone created any automation/links between Liquid Planner and Microsoft Teams? I see other integrations in Teams from other project management software that looks pretty impressive, but not from LP or even Microsoft Project online, yet.
Posted by Alex Subler about 4 years ago
Approve Timesheet via API when Week=0 hours
My client asked me to lock (Approve) all timesheets via API based on a timeframe (2 weeks or older).
The issue is that I can't find timesheet IDs for any timesheet that has a total of 0 hours logged. Other than using the timesheets endpoint, is there a way to list all timesheet ids for any particular member?
Posted by GABRIEL V. about 4 years ago