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

Get TestTask Counts info group by Status, based on project id

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 TestTask Counts info group by Status, based on project id

API_Data_DictionaryOfDateTimeAndListOfIDNameCounts
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

Dictionary of date [key] and Collection of IDNameCounts [value]

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": {
    "2020-11-30 14:19:42": [
      {
        "ID": 1,
        "Name": "sample string 1",
        "Counts": 2
      },
      {
        "ID": 1,
        "Name": "sample string 1",
        "Counts": 2
      }
    ]
  }
}

application/xml, text/xml

Sample:
<API_Data_ArrayOfKeyValueOfdateTimeArrayOfIDNameCountsV9fTLPAg 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.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfdateTimeArrayOfIDNameCountsV9fTLPAg>
      <d2p1:Key>2020-11-30T14:19:42.5713697-08:00</d2p1:Key>
      <d2p1:Value xmlns:d4p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding">
        <d4p1:IDNameCounts>
          <d4p1:Counts>2</d4p1:Counts>
          <d4p1:ID>1</d4p1:ID>
          <d4p1:Name>sample string 1</d4p1:Name>
        </d4p1:IDNameCounts>
        <d4p1:IDNameCounts>
          <d4p1:Counts>2</d4p1:Counts>
          <d4p1:ID>1</d4p1:ID>
          <d4p1:Name>sample string 1</d4p1:Name>
        </d4p1:IDNameCounts>
      </d2p1:Value>
    </d2p1:KeyValueOfdateTimeArrayOfIDNameCountsV9fTLPAg>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_ArrayOfKeyValueOfdateTimeArrayOfIDNameCountsV9fTLPAg>