GET api/projectone/P1Members?projectId={projectId}&spaceId={spaceId}
Get project members in a P1 project (include Management, Development, Requirement, Knowledge, Test Run, Test Liberary and Defect module)
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| projectId |
ppm project id |
integer |
Required |
| spaceId |
ppm space id |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Get project members in a P1 project (include Management, Development, Requirement, Knowledge, Test Run, Test Liberary and Defect module)
API_Data_IEnumerableOfP1ProjectMember| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Error | ErrorInfo |
None. |
|
| Data | Collection of P1ProjectMember |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Error": {
"ErrorCode": 1,
"ErrorMessage": "sample string 1"
},
"Data": [
{
"MemberId": 1,
"MemberName": "sample string 2",
"LoginName": "sample string 3",
"FirstName": "sample string 4",
"LastName": "sample string 5",
"EmailAddress": "sample string 6",
"Phone": "sample string 7",
"IsActive": true,
"IsP1Admin": true,
"AccountTypes": {
"Management": {
"ProjectId": 1,
"AccountTypeId": 2,
"AccountTypeName": "sample string 3"
},
"Development": {
"ProjectId": 1,
"AccountTypeId": 2,
"AccountTypeName": "sample string 3"
},
"Requirement": {
"ProjectId": 1,
"AccountTypeId": 2,
"AccountTypeName": "sample string 3"
},
"Knowledge": {
"ProjectId": 1,
"AccountTypeId": 2,
"AccountTypeName": "sample string 3"
},
"TestRun": {
"ProjectId": 1,
"AccountTypeId": 2,
"AccountTypeName": "sample string 3"
},
"TestLiberary": {
"ProjectId": 1,
"AccountTypeId": 2,
"AccountTypeName": "sample string 3"
},
"Defect": {
"ProjectId": 1,
"AccountTypeId": 2,
"AccountTypeName": "sample string 3"
}
}
},
{
"MemberId": 1,
"MemberName": "sample string 2",
"LoginName": "sample string 3",
"FirstName": "sample string 4",
"LastName": "sample string 5",
"EmailAddress": "sample string 6",
"Phone": "sample string 7",
"IsActive": true,
"IsP1Admin": true,
"AccountTypes": {
"Management": {
"ProjectId": 1,
"AccountTypeId": 2,
"AccountTypeName": "sample string 3"
},
"Development": {
"ProjectId": 1,
"AccountTypeId": 2,
"AccountTypeName": "sample string 3"
},
"Requirement": {
"ProjectId": 1,
"AccountTypeId": 2,
"AccountTypeName": "sample string 3"
},
"Knowledge": {
"ProjectId": 1,
"AccountTypeId": 2,
"AccountTypeName": "sample string 3"
},
"TestRun": {
"ProjectId": 1,
"AccountTypeId": 2,
"AccountTypeName": "sample string 3"
},
"TestLiberary": {
"ProjectId": 1,
"AccountTypeId": 2,
"AccountTypeName": "sample string 3"
},
"Defect": {
"ProjectId": 1,
"AccountTypeId": 2,
"AccountTypeName": "sample string 3"
}
}
}
]
}
application/xml, text/xml
Sample:
<API_Data_ArrayOfP1ProjectMember xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.ProjectOne">
<d2p1:P1ProjectMember>
<d2p1:AccountTypes>
<d2p1:Defect>
<d2p1:AccountTypeId>2</d2p1:AccountTypeId>
<d2p1:AccountTypeName>sample string 3</d2p1:AccountTypeName>
<d2p1:ProjectId>1</d2p1:ProjectId>
</d2p1:Defect>
<d2p1:Development>
<d2p1:AccountTypeId>2</d2p1:AccountTypeId>
<d2p1:AccountTypeName>sample string 3</d2p1:AccountTypeName>
<d2p1:ProjectId>1</d2p1:ProjectId>
</d2p1:Development>
<d2p1:Knowledge>
<d2p1:AccountTypeId>2</d2p1:AccountTypeId>
<d2p1:AccountTypeName>sample string 3</d2p1:AccountTypeName>
<d2p1:ProjectId>1</d2p1:ProjectId>
</d2p1:Knowledge>
<d2p1:Management>
<d2p1:AccountTypeId>2</d2p1:AccountTypeId>
<d2p1:AccountTypeName>sample string 3</d2p1:AccountTypeName>
<d2p1:ProjectId>1</d2p1:ProjectId>
</d2p1:Management>
<d2p1:Requirement>
<d2p1:AccountTypeId>2</d2p1:AccountTypeId>
<d2p1:AccountTypeName>sample string 3</d2p1:AccountTypeName>
<d2p1:ProjectId>1</d2p1:ProjectId>
</d2p1:Requirement>
<d2p1:TestLiberary>
<d2p1:AccountTypeId>2</d2p1:AccountTypeId>
<d2p1:AccountTypeName>sample string 3</d2p1:AccountTypeName>
<d2p1:ProjectId>1</d2p1:ProjectId>
</d2p1:TestLiberary>
<d2p1:TestRun>
<d2p1:AccountTypeId>2</d2p1:AccountTypeId>
<d2p1:AccountTypeName>sample string 3</d2p1:AccountTypeName>
<d2p1:ProjectId>1</d2p1:ProjectId>
</d2p1:TestRun>
</d2p1:AccountTypes>
<d2p1:EmailAddress>sample string 6</d2p1:EmailAddress>
<d2p1:FirstName>sample string 4</d2p1:FirstName>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:IsP1Admin>true</d2p1:IsP1Admin>
<d2p1:LastName>sample string 5</d2p1:LastName>
<d2p1:LoginName>sample string 3</d2p1:LoginName>
<d2p1:MemberId>1</d2p1:MemberId>
<d2p1:MemberName>sample string 2</d2p1:MemberName>
<d2p1:Phone>sample string 7</d2p1:Phone>
</d2p1:P1ProjectMember>
<d2p1:P1ProjectMember>
<d2p1:AccountTypes>
<d2p1:Defect>
<d2p1:AccountTypeId>2</d2p1:AccountTypeId>
<d2p1:AccountTypeName>sample string 3</d2p1:AccountTypeName>
<d2p1:ProjectId>1</d2p1:ProjectId>
</d2p1:Defect>
<d2p1:Development>
<d2p1:AccountTypeId>2</d2p1:AccountTypeId>
<d2p1:AccountTypeName>sample string 3</d2p1:AccountTypeName>
<d2p1:ProjectId>1</d2p1:ProjectId>
</d2p1:Development>
<d2p1:Knowledge>
<d2p1:AccountTypeId>2</d2p1:AccountTypeId>
<d2p1:AccountTypeName>sample string 3</d2p1:AccountTypeName>
<d2p1:ProjectId>1</d2p1:ProjectId>
</d2p1:Knowledge>
<d2p1:Management>
<d2p1:AccountTypeId>2</d2p1:AccountTypeId>
<d2p1:AccountTypeName>sample string 3</d2p1:AccountTypeName>
<d2p1:ProjectId>1</d2p1:ProjectId>
</d2p1:Management>
<d2p1:Requirement>
<d2p1:AccountTypeId>2</d2p1:AccountTypeId>
<d2p1:AccountTypeName>sample string 3</d2p1:AccountTypeName>
<d2p1:ProjectId>1</d2p1:ProjectId>
</d2p1:Requirement>
<d2p1:TestLiberary>
<d2p1:AccountTypeId>2</d2p1:AccountTypeId>
<d2p1:AccountTypeName>sample string 3</d2p1:AccountTypeName>
<d2p1:ProjectId>1</d2p1:ProjectId>
</d2p1:TestLiberary>
<d2p1:TestRun>
<d2p1:AccountTypeId>2</d2p1:AccountTypeId>
<d2p1:AccountTypeName>sample string 3</d2p1:AccountTypeName>
<d2p1:ProjectId>1</d2p1:ProjectId>
</d2p1:TestRun>
</d2p1:AccountTypes>
<d2p1:EmailAddress>sample string 6</d2p1:EmailAddress>
<d2p1:FirstName>sample string 4</d2p1:FirstName>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:IsP1Admin>true</d2p1:IsP1Admin>
<d2p1:LastName>sample string 5</d2p1:LastName>
<d2p1:LoginName>sample string 3</d2p1:LoginName>
<d2p1:MemberId>1</d2p1:MemberId>
<d2p1:MemberName>sample string 2</d2p1:MemberName>
<d2p1:Phone>sample string 7</d2p1:Phone>
</d2p1:P1ProjectMember>
</Data>
<Error>
<ErrorCode>1</ErrorCode>
<ErrorMessage>sample string 1</ErrorMessage>
</Error>
<Success>true</Success>
</API_Data_ArrayOfP1ProjectMember>