GET api/Admin/GetPPMDelayedAndExpectedTaskCounts?projectId={projectId}&subProjectID={subProjectID}&fresh={fresh}

Get PPM project Summary info based on project id and subProjectID

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

projectId

integer

Required

subProjectID

subProjectID

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 and subProjectID

API_Data_ListOfDTKDelayedAndExpectedTasks
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

Collection of DTKDelayedAndExpectedTasks

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": [
    {
      "ProjectID": 1,
      "DelayedTasks": [
        1,
        2
      ],
      "ExpectedDelayedTasks": [
        1,
        2
      ]
    },
    {
      "ProjectID": 1,
      "DelayedTasks": [
        1,
        2
      ],
      "ExpectedDelayedTasks": [
        1,
        2
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<API_Data_ArrayOfDTKDelayedAndExpectedTasks 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:DTKDelayedAndExpectedTasks>
      <d2p1:DelayedTasks xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d2p1:DelayedTasks>
      <d2p1:ExpectedDelayedTasks xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d2p1:ExpectedDelayedTasks>
      <d2p1:ProjectID>1</d2p1:ProjectID>
    </d2p1:DTKDelayedAndExpectedTasks>
    <d2p1:DTKDelayedAndExpectedTasks>
      <d2p1:DelayedTasks xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d2p1:DelayedTasks>
      <d2p1:ExpectedDelayedTasks xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d2p1:ExpectedDelayedTasks>
      <d2p1:ProjectID>1</d2p1:ProjectID>
    </d2p1:DTKDelayedAndExpectedTasks>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_ArrayOfDTKDelayedAndExpectedTasks>