See all operations
GET: projects/{project_id}/users
Description
Retrieves the list of active users that are members of the current project
How to Execute
To access this REST web service, you need to use the following URL (make sure to replace any parameters (eg {project_id}) with the relevant value (eg 1):
https://api.inflectra.com/spira/services/v5_0/RestService.svc/projects/{project_id}/users
Request Parameters
Name
|
Description
|
project_id
|
The id of the current project
|
Request Body
Return Data
The JSON and XML examples below show the shape of one entry that will be returned. It does not show an example of how that entry will be populated.
<ArrayOfRemoteProjectUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inflectra.SpiraTest.Web.Services.v5_0.DataObjects">
<RemoteProjectUser>
<Active>false</Active>
<Admin>false</Admin>
<Approved>false</Approved>
<Department i:nil="true" />
<EmailAddress i:nil="true" />
<FirstName i:nil="true" />
<FullName i:nil="true" />
<LastName i:nil="true" />
<LdapDn i:nil="true" />
<Locked>false</Locked>
<MiddleInitial i:nil="true" />
<RssToken i:nil="true" />
<UserId i:nil="true" />
<UserName i:nil="true" />
<ProjectId>0</ProjectId>
<ProjectRoleId>0</ProjectRoleId>
<ProjectRoleName i:nil="true" />
</RemoteProjectUser>
</ArrayOfRemoteProjectUser>
[{"Active":false,
"Admin":false,
"Approved":false,
"Department":null,
"EmailAddress":null,
"FirstName":null,
"FullName":null,
"LastName":null,
"LdapDn":null,
"Locked":false,
"MiddleInitial":null,
"RssToken":null,
"UserId":null,
"UserName":null,
"ProjectId":0,
"ProjectRoleId":0,
"ProjectRoleName":null}]