GET api/projectone/P1ProjectBaseFamilies
Get all accessable Project base families
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Get all accessable Project base families
API_Data_ListOfProjectFamilyModelName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | Collection of ProjectFamilyModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": [ { "ProjectBase": { "ProjectID": 1, "IsActive": true, "ProjectName": "sample string 3", "ProjectType": 4, "IsSampleProject": 5 }, "LinkedProjectBases": [ { "ProjectID": 1, "IsActive": true, "ProjectName": "sample string 3", "ProjectType": 4, "IsSampleProject": 5 }, { "ProjectID": 1, "IsActive": true, "ProjectName": "sample string 3", "ProjectType": 4, "IsSampleProject": 5 } ] }, { "ProjectBase": { "ProjectID": 1, "IsActive": true, "ProjectName": "sample string 3", "ProjectType": 4, "IsSampleProject": 5 }, "LinkedProjectBases": [ { "ProjectID": 1, "IsActive": true, "ProjectName": "sample string 3", "ProjectType": 4, "IsSampleProject": 5 }, { "ProjectID": 1, "IsActive": true, "ProjectName": "sample string 3", "ProjectType": 4, "IsSampleProject": 5 } ] } ] }
application/xml, text/xml
Sample:
<API_Data_ArrayOfProjectFamilyModel 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.Entities"> <d2p1:ProjectFamilyModel> <d2p1:LinkedProjectBases> <d2p1:ProjectModel> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:IsSampleProject>5</d2p1:IsSampleProject> <d2p1:ProjectID>1</d2p1:ProjectID> <d2p1:ProjectName>sample string 3</d2p1:ProjectName> <d2p1:ProjectType>4</d2p1:ProjectType> </d2p1:ProjectModel> <d2p1:ProjectModel> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:IsSampleProject>5</d2p1:IsSampleProject> <d2p1:ProjectID>1</d2p1:ProjectID> <d2p1:ProjectName>sample string 3</d2p1:ProjectName> <d2p1:ProjectType>4</d2p1:ProjectType> </d2p1:ProjectModel> </d2p1:LinkedProjectBases> <d2p1:ProjectBase> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:IsSampleProject>5</d2p1:IsSampleProject> <d2p1:ProjectID>1</d2p1:ProjectID> <d2p1:ProjectName>sample string 3</d2p1:ProjectName> <d2p1:ProjectType>4</d2p1:ProjectType> </d2p1:ProjectBase> </d2p1:ProjectFamilyModel> <d2p1:ProjectFamilyModel> <d2p1:LinkedProjectBases> <d2p1:ProjectModel> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:IsSampleProject>5</d2p1:IsSampleProject> <d2p1:ProjectID>1</d2p1:ProjectID> <d2p1:ProjectName>sample string 3</d2p1:ProjectName> <d2p1:ProjectType>4</d2p1:ProjectType> </d2p1:ProjectModel> <d2p1:ProjectModel> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:IsSampleProject>5</d2p1:IsSampleProject> <d2p1:ProjectID>1</d2p1:ProjectID> <d2p1:ProjectName>sample string 3</d2p1:ProjectName> <d2p1:ProjectType>4</d2p1:ProjectType> </d2p1:ProjectModel> </d2p1:LinkedProjectBases> <d2p1:ProjectBase> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:IsSampleProject>5</d2p1:IsSampleProject> <d2p1:ProjectID>1</d2p1:ProjectID> <d2p1:ProjectName>sample string 3</d2p1:ProjectName> <d2p1:ProjectType>4</d2p1:ProjectType> </d2p1:ProjectBase> </d2p1:ProjectFamilyModel> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_ArrayOfProjectFamilyModel>