POST api/Admin/GetSubProjectStatusByIDs?projectId={projectId}&fresh={fresh}
Get SubProject Status 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 Status Counts info based on project id
API_Data_ListOfIDNameCountsName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | Collection of IDNameCounts |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": [ { "ID": 1, "Name": "sample string 1", "Counts": 2 }, { "ID": 1, "Name": "sample string 1", "Counts": 2 } ] }
application/xml, text/xml
Sample:
<API_Data_ArrayOfIDNameCounts 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:IDNameCounts> <d2p1:Counts>2</d2p1:Counts> <d2p1:ID>1</d2p1:ID> <d2p1:Name>sample string 1</d2p1:Name> </d2p1:IDNameCounts> <d2p1:IDNameCounts> <d2p1:Counts>2</d2p1:Counts> <d2p1:ID>1</d2p1:ID> <d2p1:Name>sample string 1</d2p1:Name> </d2p1:IDNameCounts> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_ArrayOfIDNameCounts>