LiquidPlanner Classic Forum
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 2 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 about 3 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 about 3 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 about 3 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 3 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 3 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 over 3 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. over 3 years ago
Error 500 when calling https://app.liquidplanner.com/api/v1/workspaces/ID/treeitems/
We've been using the LP API for a couple of months with no issue, but over the last few days we've been getting an error 500 from the API when pulling the treeitems. Is there anything that might have changed, or is there a limit on the amount of data it can pull? I know we do have a lot of tree items in our workspace.
Posted by Dewald Schlebusch over 3 years ago
API, Custom field
Hello in doc it is said "hash of custom fields and their assigned values for this item"
where i can find this hash of custom field? and how i can assighn custom field to task via API?
can you help me?
Posted by Vadym over 3 years ago