Forum
Extraction data to multi projet avancement manage
how i can use the api to send all avancement project to now how is running to the deadline ? is it possible to build a daily or weekly request to export data ?
Thx for your help <
Posted by julien 11 days ago
Is there a way to obtain the task id of a newly created task?
Using the email solution to create a new task works well and the task will appear with it's automated ID number in the relevant project folder.
Is there an easy way (other than manually opening LP and finding the newly created task and using copy and paste) to get the newly created task's ID. I'd like to be able to do this so that the task can be updated automatically from another app without having to go through the manual process of obtaining the task ID first?
done is this possible? can do if I have the ID
create new task in LP --> ???? get newly created task ID ???? ---> update the newly created task
Posted by Bob Cudmore about 1 month ago
Is there a way to make an API Token Read-Only?
Hello,
I have successfully written a an LP API program that automatically gets the data that I wish to process and processes the data. With this LP API program I wish to always just read. I was wondering if there was a way to set an API Token to "Read-Only"? And if not, would this potentially be considered in the future?
Thanks,
Bart
Posted by [email protected] about 1 month ago
Adding comments to task with API
I try follow the documentation with: (sanitised)
curl -H "Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxx" https://app.liquidplanner.com/api/v1/workspaces/xxxxxx/tasks/xxxxxxxx/comments '{"comment":{"comment":"Written through API outside of LP - Hope your code is going well"}}' -X POST
returns with:
{"type":"Error","error":"BadArgument","message":"Expected a hash of attribute values for comment parameter"}curl: (3) nested brace in URL position 11:
'{comment:{comment:Written through API outside of LP - Hope your code is going well}}'
I've tried same without the single quotes as some have done and similar response, any ideas please?
Posted by bob cudmore 2 months ago
Developer Docs missing information
Hello, what happened to the developer docs?
Previously we were able to view url and body params in the docs (https://web.archive.org/web/20200813181052/https://developer.liquidplanner.com/reference), however the endpoint reference doesn't appear to include meaningful information anymore. Is there anywhere else the available parameters for each endpoint are included?
Posted by [email protected] 3 months ago
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 3 months 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 12 months 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 about 1 year 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 over 1 year 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 over 1 year ago