GET api/Project/GetProjectMembers?projectID={projectID}&projectType={projectType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectID

integer

Required

projectType

integer

Required

Body Parameters

None.

Response Information

Resource Description

API_Data_IEnumerableOfProjectMemberRet
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

Collection of ProjectMemberRet

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": [
    {
      "MemberId": 1,
      "MemberName": "sample string 2",
      "ShortName": "sample string 3",
      "EmailAddress": "sample string 4",
      "MemberAccountTypes": [
        {
          "ProjectId": 1,
          "AccountTypeId": 2,
          "AccountTypeName": "sample string 3"
        },
        {
          "ProjectId": 1,
          "AccountTypeId": 2,
          "AccountTypeName": "sample string 3"
        }
      ]
    },
    {
      "MemberId": 1,
      "MemberName": "sample string 2",
      "ShortName": "sample string 3",
      "EmailAddress": "sample string 4",
      "MemberAccountTypes": [
        {
          "ProjectId": 1,
          "AccountTypeId": 2,
          "AccountTypeName": "sample string 3"
        },
        {
          "ProjectId": 1,
          "AccountTypeId": 2,
          "AccountTypeName": "sample string 3"
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<API_Data_ArrayOfProjectMemberRet 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.Binding">
    <d2p1:ProjectMemberRet>
      <d2p1:EmailAddress>sample string 4</d2p1:EmailAddress>
      <d2p1:MemberAccountTypes>
        <d2p1:ProjectAccountTypesRet>
          <d2p1:AccountTypeId>2</d2p1:AccountTypeId>
          <d2p1:AccountTypeName>sample string 3</d2p1:AccountTypeName>
          <d2p1:ProjectId>1</d2p1:ProjectId>
        </d2p1:ProjectAccountTypesRet>
        <d2p1:ProjectAccountTypesRet>
          <d2p1:AccountTypeId>2</d2p1:AccountTypeId>
          <d2p1:AccountTypeName>sample string 3</d2p1:AccountTypeName>
          <d2p1:ProjectId>1</d2p1:ProjectId>
        </d2p1:ProjectAccountTypesRet>
      </d2p1:MemberAccountTypes>
      <d2p1:MemberId>1</d2p1:MemberId>
      <d2p1:MemberName>sample string 2</d2p1:MemberName>
      <d2p1:ShortName>sample string 3</d2p1:ShortName>
    </d2p1:ProjectMemberRet>
    <d2p1:ProjectMemberRet>
      <d2p1:EmailAddress>sample string 4</d2p1:EmailAddress>
      <d2p1:MemberAccountTypes>
        <d2p1:ProjectAccountTypesRet>
          <d2p1:AccountTypeId>2</d2p1:AccountTypeId>
          <d2p1:AccountTypeName>sample string 3</d2p1:AccountTypeName>
          <d2p1:ProjectId>1</d2p1:ProjectId>
        </d2p1:ProjectAccountTypesRet>
        <d2p1:ProjectAccountTypesRet>
          <d2p1:AccountTypeId>2</d2p1:AccountTypeId>
          <d2p1:AccountTypeName>sample string 3</d2p1:AccountTypeName>
          <d2p1:ProjectId>1</d2p1:ProjectId>
        </d2p1:ProjectAccountTypesRet>
      </d2p1:MemberAccountTypes>
      <d2p1:MemberId>1</d2p1:MemberId>
      <d2p1:MemberName>sample string 2</d2p1:MemberName>
      <d2p1:ShortName>sample string 3</d2p1:ShortName>
    </d2p1:ProjectMemberRet>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_ArrayOfProjectMemberRet>