POST api/report/DailySpecFinishedSummary

Get finished percentage of spec on a specified day

Request Information

URI Parameters

None.

Body Parameters

GetGroupedDailyFinishedSummaryBySpecBinder
NameDescriptionTypeAdditional information
ProjectId

integer

None.

SpaceId

integer

None.

SpecIds

Collection of integer

None.

Date

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectId": 1,
  "SpaceId": 2,
  "SpecIds": [
    1,
    2
  ],
  "Date": "2024-07-14 10:48:54"
}

application/xml, text/xml

Sample:
<GetGroupedDailyFinishedSummaryBySpecBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Report">
  <Date>2024-07-14T10:48:54.9573041-07:00</Date>
  <ProjectId>1</ProjectId>
  <SpaceId>2</SpaceId>
  <SpecIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </SpecIds>
</GetGroupedDailyFinishedSummaryBySpecBinder>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Get finished percentage of spec on a specified day

API_Data_IEnumerableOfSpecFinishedSummary
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

Collection of SpecFinishedSummary

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": [
    {
      "ProjectId": 1,
      "SpecId": 2,
      "DevModule": {
        "FinishPoints": 0.0,
        "FinishPercent": 0.0,
        "FinishTaskPoints": 0.0,
        "FinishPointsBefore": 0.0,
        "FinishTaskPointsBefore": 0.0,
        "FinishPercentBefore": 0.0
      },
      "NonDevModule": {
        "FinishPoints": 7.1999999999999993,
        "FinishPercent": 60.0,
        "FinishTaskPoints": 8.4,
        "FinishPointsBefore": 9.6000000000000014,
        "FinishTaskPointsBefore": 0.0,
        "FinishPercentBefore": 80.0
      }
    },
    {
      "ProjectId": 1,
      "SpecId": 2,
      "DevModule": {
        "FinishPoints": 0.0,
        "FinishPercent": 0.0,
        "FinishTaskPoints": 0.0,
        "FinishPointsBefore": 0.0,
        "FinishTaskPointsBefore": 0.0,
        "FinishPercentBefore": 0.0
      },
      "NonDevModule": {
        "FinishPoints": 7.1999999999999993,
        "FinishPercent": 60.0,
        "FinishTaskPoints": 8.4,
        "FinishPointsBefore": 9.6000000000000014,
        "FinishTaskPointsBefore": 0.0,
        "FinishPercentBefore": 80.0
      }
    }
  ]
}

application/xml, text/xml

Sample:
<API_Data_ArrayOfSpecFinishedSummary 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.Report">
    <d2p1:SpecFinishedSummary>
      <d2p1:ImplementationModules>
        <d2p1:SpecModuleFinishedData>
          <d2p1:FinishedTaskPoints>8.1</d2p1:FinishedTaskPoints>
          <d2p1:FinishedTaskPointsBefore>9.1</d2p1:FinishedTaskPointsBefore>
          <d2p1:IfNonDevModule>true</d2p1:IfNonDevModule>
          <d2p1:ModuleId>1</d2p1:ModuleId>
          <d2p1:SpecPointsTotal>6</d2p1:SpecPointsTotal>
          <d2p1:TaskPointsTotal>7</d2p1:TaskPointsTotal>
          <d2p1:TimeSpentInt>3</d2p1:TimeSpentInt>
          <d2p1:TimeSpentIntBefore>4</d2p1:TimeSpentIntBefore>
          <d2p1:TimeTotal>5</d2p1:TimeTotal>
        </d2p1:SpecModuleFinishedData>
        <d2p1:SpecModuleFinishedData>
          <d2p1:FinishedTaskPoints>8.1</d2p1:FinishedTaskPoints>
          <d2p1:FinishedTaskPointsBefore>9.1</d2p1:FinishedTaskPointsBefore>
          <d2p1:IfNonDevModule>true</d2p1:IfNonDevModule>
          <d2p1:ModuleId>1</d2p1:ModuleId>
          <d2p1:SpecPointsTotal>6</d2p1:SpecPointsTotal>
          <d2p1:TaskPointsTotal>7</d2p1:TaskPointsTotal>
          <d2p1:TimeSpentInt>3</d2p1:TimeSpentInt>
          <d2p1:TimeSpentIntBefore>4</d2p1:TimeSpentIntBefore>
          <d2p1:TimeTotal>5</d2p1:TimeTotal>
        </d2p1:SpecModuleFinishedData>
      </d2p1:ImplementationModules>
      <d2p1:ProjectId>1</d2p1:ProjectId>
      <d2p1:SpecId>2</d2p1:SpecId>
    </d2p1:SpecFinishedSummary>
    <d2p1:SpecFinishedSummary>
      <d2p1:ImplementationModules>
        <d2p1:SpecModuleFinishedData>
          <d2p1:FinishedTaskPoints>8.1</d2p1:FinishedTaskPoints>
          <d2p1:FinishedTaskPointsBefore>9.1</d2p1:FinishedTaskPointsBefore>
          <d2p1:IfNonDevModule>true</d2p1:IfNonDevModule>
          <d2p1:ModuleId>1</d2p1:ModuleId>
          <d2p1:SpecPointsTotal>6</d2p1:SpecPointsTotal>
          <d2p1:TaskPointsTotal>7</d2p1:TaskPointsTotal>
          <d2p1:TimeSpentInt>3</d2p1:TimeSpentInt>
          <d2p1:TimeSpentIntBefore>4</d2p1:TimeSpentIntBefore>
          <d2p1:TimeTotal>5</d2p1:TimeTotal>
        </d2p1:SpecModuleFinishedData>
        <d2p1:SpecModuleFinishedData>
          <d2p1:FinishedTaskPoints>8.1</d2p1:FinishedTaskPoints>
          <d2p1:FinishedTaskPointsBefore>9.1</d2p1:FinishedTaskPointsBefore>
          <d2p1:IfNonDevModule>true</d2p1:IfNonDevModule>
          <d2p1:ModuleId>1</d2p1:ModuleId>
          <d2p1:SpecPointsTotal>6</d2p1:SpecPointsTotal>
          <d2p1:TaskPointsTotal>7</d2p1:TaskPointsTotal>
          <d2p1:TimeSpentInt>3</d2p1:TimeSpentInt>
          <d2p1:TimeSpentIntBefore>4</d2p1:TimeSpentIntBefore>
          <d2p1:TimeTotal>5</d2p1:TimeTotal>
        </d2p1:SpecModuleFinishedData>
      </d2p1:ImplementationModules>
      <d2p1:ProjectId>1</d2p1:ProjectId>
      <d2p1:SpecId>2</d2p1:SpecId>
    </d2p1:SpecFinishedSummary>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_ArrayOfSpecFinishedSummary>