POST api/report/periodScoreSummary

Period score summary report

Request Information

URI Parameters

None.

Body Parameters

PeriodScoreBinder
NameDescriptionTypeAdditional information
ProjectBaseFamilyId

integer

None.

FromDate

date

None.

ToDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ProjectBaseFamilyId": 1,
  "FromDate": "2020-11-29 11:57:59",
  "ToDate": "2020-11-29 11:57:59"
}

application/xml, text/xml

Sample:
<PeriodScoreBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Report">
  <FromDate>2020-11-29T11:57:59.3926754-08:00</FromDate>
  <ProjectBaseFamilyId>1</ProjectBaseFamilyId>
  <ToDate>2020-11-29T11:57:59.3926754-08:00</ToDate>
</PeriodScoreBinder>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Period score summary report

API_Data_IEnumerableOfPersonScore
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

Collection of PersonScore

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": [
    {
      "PersonId": 1,
      "PersonName": "sample string 2",
      "AverageScore": 5.1,
      "Effort": 3.1,
      "Attendance": 4.1,
      "Productivity": 5.1,
      "Quality": 6.1,
      "Availability": 7.1,
      "Detail": {
        "PersonId": 1,
        "Attendance": "0.1h",
        "TimeSpent": "0.1h",
        "TimeRemain": "0.1h",
        "CompletedTaskCount": 2,
        "SpecPoints": 3.1,
        "TaskPoints": 4.1,
        "DingPoints": 5,
        "TimeSpentInt": 6,
        "TimeRemainInt": 7,
        "AttendanceInt": 8
      }
    },
    {
      "PersonId": 1,
      "PersonName": "sample string 2",
      "AverageScore": 5.1,
      "Effort": 3.1,
      "Attendance": 4.1,
      "Productivity": 5.1,
      "Quality": 6.1,
      "Availability": 7.1,
      "Detail": {
        "PersonId": 1,
        "Attendance": "0.1h",
        "TimeSpent": "0.1h",
        "TimeRemain": "0.1h",
        "CompletedTaskCount": 2,
        "SpecPoints": 3.1,
        "TaskPoints": 4.1,
        "DingPoints": 5,
        "TimeSpentInt": 6,
        "TimeRemainInt": 7,
        "AttendanceInt": 8
      }
    }
  ]
}

application/xml, text/xml

Sample:
<API_Data_ArrayOfPersonScore 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:PersonScore>
      <d2p1:Attendance>4.1</d2p1:Attendance>
      <d2p1:Availability>7.1</d2p1:Availability>
      <d2p1:Detail>
        <d2p1:AttendanceInt>8</d2p1:AttendanceInt>
        <d2p1:CompletedTaskCount>2</d2p1:CompletedTaskCount>
        <d2p1:DingPoints>5</d2p1:DingPoints>
        <d2p1:PersonId>1</d2p1:PersonId>
        <d2p1:SpecPoints>3.1</d2p1:SpecPoints>
        <d2p1:TaskPoints>4.1</d2p1:TaskPoints>
        <d2p1:TimeRemainInt>7</d2p1:TimeRemainInt>
        <d2p1:TimeSpentInt>6</d2p1:TimeSpentInt>
      </d2p1:Detail>
      <d2p1:Effort>3.1</d2p1:Effort>
      <d2p1:PersonId>1</d2p1:PersonId>
      <d2p1:PersonName>sample string 2</d2p1:PersonName>
      <d2p1:Productivity>5.1</d2p1:Productivity>
      <d2p1:Quality>6.1</d2p1:Quality>
    </d2p1:PersonScore>
    <d2p1:PersonScore>
      <d2p1:Attendance>4.1</d2p1:Attendance>
      <d2p1:Availability>7.1</d2p1:Availability>
      <d2p1:Detail>
        <d2p1:AttendanceInt>8</d2p1:AttendanceInt>
        <d2p1:CompletedTaskCount>2</d2p1:CompletedTaskCount>
        <d2p1:DingPoints>5</d2p1:DingPoints>
        <d2p1:PersonId>1</d2p1:PersonId>
        <d2p1:SpecPoints>3.1</d2p1:SpecPoints>
        <d2p1:TaskPoints>4.1</d2p1:TaskPoints>
        <d2p1:TimeRemainInt>7</d2p1:TimeRemainInt>
        <d2p1:TimeSpentInt>6</d2p1:TimeSpentInt>
      </d2p1:Detail>
      <d2p1:Effort>3.1</d2p1:Effort>
      <d2p1:PersonId>1</d2p1:PersonId>
      <d2p1:PersonName>sample string 2</d2p1:PersonName>
      <d2p1:Productivity>5.1</d2p1:Productivity>
      <d2p1:Quality>6.1</d2p1:Quality>
    </d2p1:PersonScore>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_ArrayOfPersonScore>