ANSWERED

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.
ANSWERED

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
ANSWERED

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
ANSWERED

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?
ANSWERED

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.
ANSWERED

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?
ANSWERED

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
ANSWERED

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.
ANSWERED

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?
ANSWERED

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.