POST api/PeriodScore/relatedSprintScores

Get a person's related sprints based on a range of date.

Request Information

URI Parameters

None.

Body Parameters

PeriodScoreRelatedSprintBinder
NameDescriptionTypeAdditional information
PersonId

integer

None.

From

date

None.

To

date

None.

Request Formats

application/json, text/json

Sample:
{
  "PersonId": 1,
  "From": "2020-11-30 15:34:29",
  "To": "2020-11-30 15:34:29"
}

application/xml, text/xml

Sample:
<PeriodScoreRelatedSprintBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding">
  <From>2020-11-30T15:34:29.6355628-08:00</From>
  <PersonId>1</PersonId>
  <To>2020-11-30T15:34:29.6355628-08:00</To>
</PeriodScoreRelatedSprintBinder>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Get a person's related sprints based on a range of date.

API_Data_ListOfSprintInfoAndScore
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

Collection of SprintInfoAndScore

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": [
    {
      "GeneralInfo": {
        "ProjectId": 1,
        "ProjectType": 2,
        "SubProjectId": 3,
        "Title": "sample string 4",
        "PlanStartDate": "2020-11-30 15:34:29",
        "PlanEndDate": "2020-11-30 15:34:29"
      },
      "Score": {
        "AverageScore": 3.1,
        "Effort": 1.1,
        "Attendance": 2.1,
        "Productivity": 3.1,
        "Quality": 4.1,
        "Availability": 5.1
      }
    },
    {
      "GeneralInfo": {
        "ProjectId": 1,
        "ProjectType": 2,
        "SubProjectId": 3,
        "Title": "sample string 4",
        "PlanStartDate": "2020-11-30 15:34:29",
        "PlanEndDate": "2020-11-30 15:34:29"
      },
      "Score": {
        "AverageScore": 3.1,
        "Effort": 1.1,
        "Attendance": 2.1,
        "Productivity": 3.1,
        "Quality": 4.1,
        "Availability": 5.1
      }
    }
  ]
}

application/xml, text/xml

Sample:
<API_Data_ArrayOfSprintInfoAndScore 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:SprintInfoAndScore>
      <d2p1:GeneralInfo>
        <d2p1:PlanEndDate>2020-11-30T15:34:29.6355628-08:00</d2p1:PlanEndDate>
        <d2p1:PlanStartDate>2020-11-30T15:34:29.6355628-08:00</d2p1:PlanStartDate>
        <d2p1:ProjectId>1</d2p1:ProjectId>
        <d2p1:ProjectType>2</d2p1:ProjectType>
        <d2p1:SubProjectId>3</d2p1:SubProjectId>
        <d2p1:Title>sample string 4</d2p1:Title>
      </d2p1:GeneralInfo>
      <d2p1:Score>
        <d2p1:Attendance>2.1</d2p1:Attendance>
        <d2p1:Availability>5.1</d2p1:Availability>
        <d2p1:Effort>1.1</d2p1:Effort>
        <d2p1:Productivity>3.1</d2p1:Productivity>
        <d2p1:Quality>4.1</d2p1:Quality>
      </d2p1:Score>
    </d2p1:SprintInfoAndScore>
    <d2p1:SprintInfoAndScore>
      <d2p1:GeneralInfo>
        <d2p1:PlanEndDate>2020-11-30T15:34:29.6355628-08:00</d2p1:PlanEndDate>
        <d2p1:PlanStartDate>2020-11-30T15:34:29.6355628-08:00</d2p1:PlanStartDate>
        <d2p1:ProjectId>1</d2p1:ProjectId>
        <d2p1:ProjectType>2</d2p1:ProjectType>
        <d2p1:SubProjectId>3</d2p1:SubProjectId>
        <d2p1:Title>sample string 4</d2p1:Title>
      </d2p1:GeneralInfo>
      <d2p1:Score>
        <d2p1:Attendance>2.1</d2p1:Attendance>
        <d2p1:Availability>5.1</d2p1:Availability>
        <d2p1:Effort>1.1</d2p1:Effort>
        <d2p1:Productivity>3.1</d2p1:Productivity>
        <d2p1:Quality>4.1</d2p1:Quality>
      </d2p1:Score>
    </d2p1:SprintInfoAndScore>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_ArrayOfSprintInfoAndScore>