POST api/projectone/memberAccountType
Get a person's account types in vairous modules(e.g Management, Development, Requirement, Knowledge, Test Run, Test Liberary, Defect module)
Request Information
URI Parameters
None.
Body Parameters
P1MemberAccountTypesBinderName | Description | Type | Additional information |
---|---|---|---|
MemberId | integer |
None. |
|
ProjectBaseIds | P1DataOfNullableOfInt32 |
None. |
Request Formats
application/json, text/json
Sample:
{ "MemberId": 1, "ProjectBaseIds": { "Management": 1, "Development": 1, "Requirement": 1, "Knowledge": 1, "TestRun": 1, "TestLiberary": 1, "Defect": 1 } }
application/xml, text/xml
Sample:
<P1MemberAccountTypesBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding"> <MemberId>1</MemberId> <ProjectBaseIds xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.ProjectOne"> <d2p1:Defect>1</d2p1:Defect> <d2p1:Development>1</d2p1:Development> <d2p1:Knowledge>1</d2p1:Knowledge> <d2p1:Management>1</d2p1:Management> <d2p1:Requirement>1</d2p1:Requirement> <d2p1:TestLiberary>1</d2p1:TestLiberary> <d2p1:TestRun>1</d2p1:TestRun> </ProjectBaseIds> </P1MemberAccountTypesBinder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Get a person's account types in vairous modules(e.g Management, Development, Requirement, Knowledge, Test Run, Test Liberary, Defect module)
API_Data_P1DataOfNameIdPairName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | P1DataOfNameIdPair |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": { "Management": { "Id": 1, "Name": "sample string 2" }, "Development": { "Id": 1, "Name": "sample string 2" }, "Requirement": { "Id": 1, "Name": "sample string 2" }, "Knowledge": { "Id": 1, "Name": "sample string 2" }, "TestRun": { "Id": 1, "Name": "sample string 2" }, "TestLiberary": { "Id": 1, "Name": "sample string 2" }, "Defect": { "Id": 1, "Name": "sample string 2" } } }
application/xml, text/xml
Sample:
<API_Data_P1DataOfNameIdPairMXHMSyPF 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:Defect> <Id>1</Id> <Name>sample string 2</Name> </d2p1:Defect> <d2p1:Development> <Id>1</Id> <Name>sample string 2</Name> </d2p1:Development> <d2p1:Knowledge> <Id>1</Id> <Name>sample string 2</Name> </d2p1:Knowledge> <d2p1:Management> <Id>1</Id> <Name>sample string 2</Name> </d2p1:Management> <d2p1:Requirement> <Id>1</Id> <Name>sample string 2</Name> </d2p1:Requirement> <d2p1:TestLiberary> <Id>1</Id> <Name>sample string 2</Name> </d2p1:TestLiberary> <d2p1:TestRun> <Id>1</Id> <Name>sample string 2</Name> </d2p1:TestRun> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_P1DataOfNameIdPairMXHMSyPF>