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

NameDescriptionTypeAdditional 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_P1ProjectInfo
NameDescriptionTypeAdditional 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": "2020-12-03 20:46:28",
    "PlanFinishDate": "2020-12-03 20:46:28",
    "P1ProjectType": 6,
    "ProjectCategory": 7,
    "Identifier": "sample string 8"
  }
}

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 8</d2p1:Identifier>
    <d2p1:Name>sample string 3</d2p1:Name>
    <d2p1:P1ProjectType>6</d2p1:P1ProjectType>
    <d2p1:PlanFinishDate>2020-12-03T20:46:28.996463-08:00</d2p1:PlanFinishDate>
    <d2p1:PlanStartDate>2020-12-03T20:46:28.996463-08:00</d2p1:PlanStartDate>
    <d2p1:PrimaryManagerId>1</d2p1:PrimaryManagerId>
    <d2p1:PrimaryManagerName>sample string 5</d2p1:PrimaryManagerName>
    <d2p1:ProjectCategory>7</d2p1:ProjectCategory>
    <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>