GET api/projectone/P1ProjectInfo?projectId={projectId}&spaceId={spaceId}
Get P1 project overview based on a management space or a development space
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
projectId | integer |
Required |
|
spaceId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Get P1 project overview based on a management space or a development space
API_Data_P1ProjectInfoName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | P1ProjectInfo |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": { "ProjectId": 1, "SpaceId": 2, "Name": "sample string 3", "StatusId": 1, "StatusName": "sample string 4", "PrimaryManagerId": 1, "PrimaryManagerName": "sample string 5", "PlanStartDate": "2024-12-21 14:55:27", "PlanFinishDate": "2024-12-21 14:55:27", "P1ProjectType": 6, "ProjectCategory": 7, "ProjectHierarchyId": 1, "ProjectHierarchyPath": "sample string 8", "Identifier": "sample string 9" } }
application/xml, text/xml
Sample:
<API_Data_P1ProjectInfo 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:Identifier>sample string 9</d2p1:Identifier> <d2p1:Name>sample string 3</d2p1:Name> <d2p1:P1ProjectType>6</d2p1:P1ProjectType> <d2p1:PlanFinishDate>2024-12-21T18:55:27.9208999-08:00</d2p1:PlanFinishDate> <d2p1:PlanStartDate>2024-12-21T18:55:27.9208999-08:00</d2p1:PlanStartDate> <d2p1:PrimaryManagerId>1</d2p1:PrimaryManagerId> <d2p1:PrimaryManagerName>sample string 5</d2p1:PrimaryManagerName> <d2p1:ProjectCategory>7</d2p1:ProjectCategory> <d2p1:ProjectHierarchyId>1</d2p1:ProjectHierarchyId> <d2p1:ProjectHierarchyPath>sample string 8</d2p1:ProjectHierarchyPath> <d2p1:ProjectId>1</d2p1:ProjectId> <d2p1:SpaceId>2</d2p1:SpaceId> <d2p1:StatusId>1</d2p1:StatusId> <d2p1:StatusName>sample string 4</d2p1:StatusName> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_P1ProjectInfo>