GET api/projectone/P1FamilyProjects?projectId={projectId}

Get all ALM ProjectBases in a family

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Get all ALM ProjectBases in a family

API_Data_ListOfFamilyProjectsRet
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

Collection of FamilyProjectsRet

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": [
    {
      "ProjectID": 1,
      "ProjectName": "sample string 2",
      "ProjectType": 3
    },
    {
      "ProjectID": 1,
      "ProjectName": "sample string 2",
      "ProjectType": 3
    }
  ]
}

application/xml, text/xml

Sample:
<API_Data_ArrayOfFamilyProjectsRet 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:FamilyProjectsRet>
      <d2p1:ProjectID>1</d2p1:ProjectID>
      <d2p1:ProjectName>sample string 2</d2p1:ProjectName>
      <d2p1:ProjectType>3</d2p1:ProjectType>
    </d2p1:FamilyProjectsRet>
    <d2p1:FamilyProjectsRet>
      <d2p1:ProjectID>1</d2p1:ProjectID>
      <d2p1:ProjectName>sample string 2</d2p1:ProjectName>
      <d2p1:ProjectType>3</d2p1:ProjectType>
    </d2p1:FamilyProjectsRet>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_ArrayOfFamilyProjectsRet>