GET api/Admin/GetPPMSummary?projectId={projectId}&fresh={fresh}

Get PPM project Summary info based on project id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

projectId

integer

Required

fresh

fresh

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

Get PPM project Summary info based on project id

API_Data_PPMSummaryModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

PPMSummaryModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": {
    "ProjectID": 1,
    "COUNT_SubProjects": 2,
    "COUNT_SubProjectOpened": 3,
    "COUNT_SubProjectClosed": 4,
    "Min_PlanStartDate": "2020-12-03 21:18:13",
    "Max_PlanEndDate": "2020-12-03 21:18:13",
    "COUNT_DelayTask": 5,
    "SUM_TimeSpent": 1,
    "SUM_TimeRemain": 1
  }
}

application/xml, text/xml

Sample:
<API_Data_PPMSummaryModel 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:COUNT_DelayTask>5</d2p1:COUNT_DelayTask>
    <d2p1:COUNT_SubProjectClosed>4</d2p1:COUNT_SubProjectClosed>
    <d2p1:COUNT_SubProjectOpened>3</d2p1:COUNT_SubProjectOpened>
    <d2p1:COUNT_SubProjects>2</d2p1:COUNT_SubProjects>
    <d2p1:Max_PlanEndDate>2020-12-03T21:18:13.4953225-08:00</d2p1:Max_PlanEndDate>
    <d2p1:Min_PlanStartDate>2020-12-03T21:18:13.4953225-08:00</d2p1:Min_PlanStartDate>
    <d2p1:ProjectID>1</d2p1:ProjectID>
    <d2p1:SUM_TimeRemain>1</d2p1:SUM_TimeRemain>
    <d2p1:SUM_TimeSpent>1</d2p1:SUM_TimeSpent>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_PPMSummaryModel>