API Support & FAQ
Missing ID bug has returned
Last year we had an issue with the LP ID column missing from grid downloads which had previously been resolved. However, this issue seems to have returned in the past few days, except now the LP ID column is present but blank for all items. This happens for both API and manual grid view downloads. Please let me know if something has changed or if you need any additional information to help resolve this.
Posted by Ajisafe Adajan 15 days ago
Updating Project Priority
Hello,
I'm fetching a project and trying to update it's relativePriority.
```
var project = await GetItemByIdAsync(projectId);
project.RelativePriority = new RelativePriority{
Type = position,
Id = relativeProjectId
};
await UpdateItemAsync(project);
```
I'm getting the following error:
{"errors":\[{"title":"Message Not Readable","detail":"Instantiation of [simple type, class com.liquidplanner.backend.api.v1.item.dto.ApiRelativePriority] value failed for JSON property type due to missing (therefore NULL) value for creator parameter type which is a non-nullable type","status":400,"code":"message_not_readable","meta":{"propertyName":"relativePriority.type"}}]}
<br />
This is RelativePriority class I created for deserializing the json:
```
public class RelativePriority
{
[JsonProperty("Id")]
public int? Id { get; set; }
[JsonProperty("Type")]
public string Type { get; set; } // options are "before", "after", "top", "bottom"
}
```
I deserialized the json payload before it's sending via API to verify that data is being passed correctly:
```
"relativePriority":{"Id":44476585,"Type":"after"}
```
<br />
What am I missing or doing wrong? Any insight is appreciated.
Posted by Patricia Dias 15 days ago
Fetch Projects Based on Priority
Hi, I'd like to fetch the projects in the order that they are displayed in liquid planner. When they are created, we usually move them up and down based on priority. Is there a way to do that in the API using some filter or order by command? I tried using "relativePriority" field but it does not have any value.
Thanks,
Patricia
Posted by Patricia Dias about 1 month ago
Fetch items with children
Hi is there a way to fetch the item tree down to a certain depth like in LP Classic (in one GET query)?
Posted by Jonathan about 2 months ago
I think your API documentation is not generating correctly
The organizations endpoint appears under the "Users" table of content entry
The cost-codes endpoint appears under the "Items" TOC entry
etc.
Many of the endpoints don't appear where they seem like they should.
Posted by Jonathan Bouchard 3 months ago
Connecting LiquidPlanner Discussions to Google Chat
We use Google Workspace for our collaboration and productivity tools, including Chat. One of the biggest challenges to embedding LiquidPlanner in daily workflows is that it's separated from that conversation. It's not realistic to expect that it will all migrate to LiquidPlanner Discussions, which means there are two separate spaces, and it's likely LiquidPlanner Discussions will never be the dominant space.
The API doesn't seem to include discussion items. Is there anything in the backlog that might allow a connection between LiquidPlanner Discussions and Google Chat?
Posted by Michael Gordon-Smith 4 months ago
Metadata endpoint
Hello, is there an endpoint to retrieve the metadata? Our admins have added custom fields to the People and Project screens and I need to determine if I can get them. Thanks, Ben
Posted by Ben C 5 months ago
Formatting the JSON Response
Hello, is it possible to exclude the recordCount, recordLimit, and Data tags. In other words, get back only the actual data?
Posted by Ben C 5 months ago
Assignment grid export via API missing parent task LP ID?
Hi,
Does the API grid export of assignments include the parent task LP ID in the export as this would be useful to have included?
Thanks,
Kieran McNamara
Posted by Kieran McNamara 5 months ago
How to Create APIUser member, in trial workspace
In the help page, for API, it says "create a dedicated user account for API access." Examples show APIUser. How do you create APIUser in a trial workspace to then generate a token to start testing? Maybe someone can do it for me? Maybe it's not an option in trial?
Posted by Todd Lincoln 6 months ago