GET api/Admin/GetPPMSubProjectHierachyReportByIDs?projectId={projectId}&fresh={fresh}
Get SubProject Process Counts info based on project id
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
projectId |
projectId |
integer |
Required |
fresh |
fresh |
boolean |
Default value is False |
Body Parameters
SubProjectIDs
Collection of integerRequest Formats
application/json, text/json
Sample:
[ 1, 2 ]
application/xml, text/xml
Sample:
<ArrayOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <int>1</int> <int>2</int> </ArrayOfint>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Get SubProject Process Counts info based on project id
API_Data_ListOfPPMSubProjectHierachyReportName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | Collection of PPMSubProjectHierachyReport |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": [ { "ID": 1, "Name": "sample string 2", "Counts": 3, "CloseFailedCounts": 4, "CloseSuccessCounts": 5, "InProgressCounts": 6, "InProgressAlarmCounts": 7, "InProgressNormalCounts": 8, "SubProjectIDs": [ 1, 2 ], "CloseFailedIDs": [ 1, 2 ], "CloseSuccessIDs": [ 1, 2 ], "InProgressIDs": [ 1, 2 ], "InProgressAlarmIDs": [ 1, 2 ], "InProgressNormalIDs": [ 1, 2 ] }, { "ID": 1, "Name": "sample string 2", "Counts": 3, "CloseFailedCounts": 4, "CloseSuccessCounts": 5, "InProgressCounts": 6, "InProgressAlarmCounts": 7, "InProgressNormalCounts": 8, "SubProjectIDs": [ 1, 2 ], "CloseFailedIDs": [ 1, 2 ], "CloseSuccessIDs": [ 1, 2 ], "InProgressIDs": [ 1, 2 ], "InProgressAlarmIDs": [ 1, 2 ], "InProgressNormalIDs": [ 1, 2 ] } ] }
application/xml, text/xml
Sample:
<API_Data_ArrayOfPPMSubProjectHierachyReport 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:PPMSubProjectHierachyReport> <d2p1:CloseFailedCounts>4</d2p1:CloseFailedCounts> <d2p1:CloseFailedIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </d2p1:CloseFailedIDs> <d2p1:CloseSuccessCounts>5</d2p1:CloseSuccessCounts> <d2p1:CloseSuccessIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </d2p1:CloseSuccessIDs> <d2p1:Counts>3</d2p1:Counts> <d2p1:ID>1</d2p1:ID> <d2p1:InProgressAlarmCounts>7</d2p1:InProgressAlarmCounts> <d2p1:InProgressAlarmIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </d2p1:InProgressAlarmIDs> <d2p1:InProgressCounts>6</d2p1:InProgressCounts> <d2p1:InProgressIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </d2p1:InProgressIDs> <d2p1:InProgressNormalCounts>8</d2p1:InProgressNormalCounts> <d2p1:InProgressNormalIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </d2p1:InProgressNormalIDs> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:SubProjectIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </d2p1:SubProjectIDs> </d2p1:PPMSubProjectHierachyReport> <d2p1:PPMSubProjectHierachyReport> <d2p1:CloseFailedCounts>4</d2p1:CloseFailedCounts> <d2p1:CloseFailedIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </d2p1:CloseFailedIDs> <d2p1:CloseSuccessCounts>5</d2p1:CloseSuccessCounts> <d2p1:CloseSuccessIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </d2p1:CloseSuccessIDs> <d2p1:Counts>3</d2p1:Counts> <d2p1:ID>1</d2p1:ID> <d2p1:InProgressAlarmCounts>7</d2p1:InProgressAlarmCounts> <d2p1:InProgressAlarmIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </d2p1:InProgressAlarmIDs> <d2p1:InProgressCounts>6</d2p1:InProgressCounts> <d2p1:InProgressIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </d2p1:InProgressIDs> <d2p1:InProgressNormalCounts>8</d2p1:InProgressNormalCounts> <d2p1:InProgressNormalIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </d2p1:InProgressNormalIDs> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:SubProjectIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:int>1</d4p1:int> <d4p1:int>2</d4p1:int> </d2p1:SubProjectIDs> </d2p1:PPMSubProjectHierachyReport> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_ArrayOfPPMSubProjectHierachyReport>