POST api/projectone/applicableMembers
Get applicable members based on projectBase ids
Request Information
URI Parameters
None.
Body Parameters
P1ApplicableMembersBinder| Name | Description | Type | Additional information |
|---|---|---|---|
| Keyword |
search FirstName, LastName, LoginName |
string |
None. |
| PageSize | integer |
None. |
|
| CurrentPage | integer |
None. |
|
| OrderBy |
"FirstName", "LastName" and "Email" are supported. |
string |
None. |
| IsDescending |
Indicate whether returned members are listed in descending order or not. |
boolean |
None. |
| ProjectBaseIds | P1DataOfNullableOfInt32 |
None. |
Request Formats
application/json, text/json
Sample:
{
"Keyword": "sample string 1",
"PageSize": 2,
"CurrentPage": 3,
"OrderBy": "sample string 4",
"IsDescending": true,
"ProjectBaseIds": {
"Management": 1,
"Development": 1,
"Requirement": 1,
"Knowledge": 1,
"TestRun": 1,
"TestLiberary": 1,
"Defect": 1
}
}
application/xml, text/xml
Sample:
<P1ApplicableMembersBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.ProjectOne">
<CurrentPage>3</CurrentPage>
<IsDescending>true</IsDescending>
<Keyword>sample string 1</Keyword>
<OrderBy>sample string 4</OrderBy>
<PageSize>2</PageSize>
<ProjectBaseIds>
<Defect>1</Defect>
<Development>1</Development>
<Knowledge>1</Knowledge>
<Management>1</Management>
<Requirement>1</Requirement>
<TestLiberary>1</TestLiberary>
<TestRun>1</TestRun>
</ProjectBaseIds>
</P1ApplicableMembersBinder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Get applicable members based on projectBase ids
API_Data_IEnumerableOfPagedP1Members| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Error | ErrorInfo |
None. |
|
| Data | Collection of PagedP1Members |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Error": {
"ErrorCode": 1,
"ErrorMessage": "sample string 1"
},
"Data": [
{
"Members": [
{
"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"
}
}
}
],
"Total": 1
},
{
"Members": [
{
"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"
}
}
}
],
"Total": 1
}
]
}
application/xml, text/xml
Sample:
<API_Data_ArrayOfPagedP1Members 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:PagedP1Members>
<d2p1:Members>
<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>
</d2p1:Members>
<d2p1:Total>1</d2p1:Total>
</d2p1:PagedP1Members>
<d2p1:PagedP1Members>
<d2p1:Members>
<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>
</d2p1:Members>
<d2p1:Total>1</d2p1:Total>
</d2p1:PagedP1Members>
</Data>
<Error>
<ErrorCode>1</ErrorCode>
<ErrorMessage>sample string 1</ErrorMessage>
</Error>
<Success>true</Success>
</API_Data_ArrayOfPagedP1Members>