POST api/Task/DailyFinishedWorkSummary2

Get the work summary that finished and to be finished on a specified day

Request Information

URI Parameters

None.

Body Parameters

GetDailyFinishedWorkSummaryBinder
NameDescriptionTypeAdditional information
ProjectId

integer

None.

SubProjectId

integer

None.

Date

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectId": 1,
  "SubProjectId": 2,
  "Date": "2024-07-20 14:36:49"
}

application/xml, text/xml

Sample:
<GetDailyFinishedWorkSummaryBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Report">
  <Date>2024-07-20T14:36:49.417522-07:00</Date>
  <ProjectId>1</ProjectId>
  <SubProjectId>2</SubProjectId>
</GetDailyFinishedWorkSummaryBinder>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Get the work summary that finished and to be finished on a specified day

API_Data_FinishedWorkSummary2
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

FinishedWorkSummary2

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": {
    "Completed": {
      "SpecPoints": 5.2,
      "TaskPoints": 9.2,
      "TimeSpentInt": 1,
      "TimeSpent": "0.0h",
      "SpecPoints4DevModule": 2.1,
      "SpecPoints4NonDevModule": 3.1,
      "TaskPoints4DevModule": 4.1,
      "TaskPoints4NonDevModule": 5.1
    },
    "ToBeCompleted": {
      "SpecPoints": 5.2,
      "TaskPoints": 9.2,
      "TimeSpentInt": 1,
      "TimeSpent": "0.0h",
      "SpecPoints4DevModule": 2.1,
      "SpecPoints4NonDevModule": 3.1,
      "TaskPoints4DevModule": 4.1,
      "TaskPoints4NonDevModule": 5.1
    },
    "Target": {
      "SpecPointsOfTarget4DevModule": 1.1,
      "SpecPointsOfTarget4NonDevModule": 2.1,
      "TaskPointsOfTarget4DevModule": 3.1,
      "TaskPointsOfTarget4NonDevModule": 4.1
    },
    "Workload4DevModule": 381.8,
    "Workload4NonDevModule": 295.2,
    "WorkloadOfTaskPoints4DevModule": 264.5,
    "WorkloadOfTaskPoints4NonDevModule": 248.8
  }
}

application/xml, text/xml

Sample:
<API_Data_FinishedWorkSummary2 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.Entities">
    <d2p1:Completed>
      <d2p1:SpecPoints4DevModule>2.1</d2p1:SpecPoints4DevModule>
      <d2p1:SpecPoints4NonDevModule>3.1</d2p1:SpecPoints4NonDevModule>
      <d2p1:TaskPoints4DevModule>4.1</d2p1:TaskPoints4DevModule>
      <d2p1:TaskPoints4NonDevModule>5.1</d2p1:TaskPoints4NonDevModule>
      <d2p1:TimeSpentInt>1</d2p1:TimeSpentInt>
    </d2p1:Completed>
    <d2p1:Target>
      <d2p1:SpecPointsOfTarget4DevModule>1.1</d2p1:SpecPointsOfTarget4DevModule>
      <d2p1:SpecPointsOfTarget4NonDevModule>2.1</d2p1:SpecPointsOfTarget4NonDevModule>
      <d2p1:TaskPointsOfTarget4DevModule>3.1</d2p1:TaskPointsOfTarget4DevModule>
      <d2p1:TaskPointsOfTarget4NonDevModule>4.1</d2p1:TaskPointsOfTarget4NonDevModule>
    </d2p1:Target>
    <d2p1:ToBeCompleted>
      <d2p1:SpecPoints4DevModule>2.1</d2p1:SpecPoints4DevModule>
      <d2p1:SpecPoints4NonDevModule>3.1</d2p1:SpecPoints4NonDevModule>
      <d2p1:TaskPoints4DevModule>4.1</d2p1:TaskPoints4DevModule>
      <d2p1:TaskPoints4NonDevModule>5.1</d2p1:TaskPoints4NonDevModule>
      <d2p1:TimeSpentInt>1</d2p1:TimeSpentInt>
    </d2p1:ToBeCompleted>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_FinishedWorkSummary2>