LiquidPlanner Classic Forum
FIltering Member Query
*Posted on behalf of Bob Puckett. Original posting date 2017-04-06.*
In my application, I need to get a list of members assigned to a specific team.
Currently, I use C# code that looks like this:
```
String url = $"/workspaces/{WorkspaceId}/members";
var results = GetObject<List<LpMember>>(get(url));
return results;
```
This call takes about 20 seconds to return. We have a lot of members. Since I only need the 10 members or so from a specific team, it would be great if there was a way to filter to a team.
I tried this initially, but it looked like you can't filter on the members URl.
Posted by LiquidPlanner Support almost 5 years ago
How to get credentials of all users through rest api call ?
*Posted on behalf of Ashish Jain. Original posting date 2014-10-07.*
Hello All,
I am working in Jira integration with LiquidPlanner, in the LiquidPlanner REST api documentation i have not found the way to get the list/details of all users at one time request, although i have the "Co-Worker"/"admin" access in LiquidPlanner.
According to sample code, i have to insert the loging credentials of the user, which i don't want i want to sync Jira with LiquidPlanner at one button click so i need to get the login credentials OR details of all users by sending one HTTP request of LP Rest api. Is it possible ? if possible than please let me know, my coding language is C#.Net
Posted by LiquidPlanner Support about 5 years ago
Task owner information in same request?
*Posting on behalf of a customer. Original post date 2014-09-09*
I'm using the API to get all tasks for a specific package [1]. Now I want all the first names for the owners of these tasks but there's only `owner_id` present in the JSON response. Is it possible to include the related owner (member) information without making an additional request?
```
[1]: https://app.liquidplanner.com/api/workspaces/xxxxx/tasks?filter[]=parent_id%3Dxxxxxxxx
```
Posted by LiquidPlanner Support about 5 years ago
Get workspace member by email (restfull api)
*Posting on behalf of Rieks Visser. Original post date 2014-03-11*
Hi!
I'm trying to use the RESTfull api to get a member resource by email adress. I've only been able to find documentation for getting the member by :member_id. I've tried /api/workspaces/workspaceid/[email protected]
This however returns all members, the querystring has no influence. No wonder since this was just a guess, improvising on https://developer.liquidplanner.com/discuss/5d5c6ce9f20ff50052c049d6. Does anyone know a supported way to do this?
I can offcourse get all users, loop them and filter the member I want out by email. But for efficiency's sake I'd much rather get the member by email directly. Thanks in advance!
Posted by LiquidPlanner Support about 5 years ago
Create Member through API
*Posted on behalf of Damian Sima. Original posting date 2013-05-14.*
Hi guys,
I'm trying to create a Member through your API, and I'm guessing this is not something your API handles (surely it handle modification and deletion).
Any ways, I'm hitting this URL:
https://app.liquidplanner.com/api/workspaces/XXXXX/members
With this payload:
```
{ "member":{ "access_level":"member","avatar_url":null,"company":"fakemember","email":"[email protected]","first_available_date":null,"first_name":"Fake","is_virtual":false,"last_available_date":null,"last_name":"Memeber","external_reference":null,"timezone":null,"user_name":"fakemember","team_name":"iApps","id":null,"children":[],"type":"Member" }}
```
And I'm getting this error:
```
{"type":"Error","error":"BadRequest","message":"Bad request, modify before retrying."}
```
Could you please give me hand?
Cheers, Damian.
Posted by LiquidPlanner Support about 5 years ago