GET api/PeriodScore/get?projectId={projectId}&scoreId={scoreId}
Get a period score based on score item id
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
projectId | integer |
Required |
|
scoreId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Get a period score based on score item id
API_Data_PeriodScoreItemName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | PeriodScoreItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": { "RelatedSprints": [ { "GeneralInfo": { "ProjectId": 1, "ProjectType": 2, "SubProjectId": 3, "Title": "sample string 4", "PlanStartDate": "2024-12-21 19:22:02", "PlanEndDate": "2024-12-21 19:22:02" }, "Summary": { "FinishedTaskCount": 1, "FinishedPoints": 2, "TimeSpent": "0.0d", "AutoScore": 4.1 }, "Score": { "ProjectId": 1, "ScoreItemId": 2, "SprintId": 3, "SprintName": "sample string 4", "SprintStartDate": "2024-12-21 15:22:02", "SprintFinishDate": "2024-12-21 15:22:02", "Score": 5, "OwnerId": 6, "Owner": "sample string 7", "AccountType": "sample string 8", "JobResponsibility": "sample string 9", "ReviewedById": 10, "ReviewedBy": "sample string 11", "DateReviewed": "2024-12-21 15:22:02", "Comment": "sample string 12", "Summary": { "FinishedTaskCount": 1, "FinishedPoints": 2, "TimeSpent": "0.0d", "AutoScore": 4.1 } } }, { "GeneralInfo": { "ProjectId": 1, "ProjectType": 2, "SubProjectId": 3, "Title": "sample string 4", "PlanStartDate": "2024-12-21 19:22:02", "PlanEndDate": "2024-12-21 19:22:02" }, "Summary": { "FinishedTaskCount": 1, "FinishedPoints": 2, "TimeSpent": "0.0d", "AutoScore": 4.1 }, "Score": { "ProjectId": 1, "ScoreItemId": 2, "SprintId": 3, "SprintName": "sample string 4", "SprintStartDate": "2024-12-21 15:22:02", "SprintFinishDate": "2024-12-21 15:22:02", "Score": 5, "OwnerId": 6, "Owner": "sample string 7", "AccountType": "sample string 8", "JobResponsibility": "sample string 9", "ReviewedById": 10, "ReviewedBy": "sample string 11", "DateReviewed": "2024-12-21 15:22:02", "Comment": "sample string 12", "Summary": { "FinishedTaskCount": 1, "FinishedPoints": 2, "TimeSpent": "0.0d", "AutoScore": 4.1 } } } ], "ProjectId": 1, "ScoreItemId": 2, "JobPerformanceIssueId": 3, "StartDate": "2024-12-21 19:22:02", "FinishDate": "2024-12-21 19:22:02", "Score": 4, "OwnerId": 5, "Owner": "sample string 6", "AccountType": "sample string 7", "JobResponsibility": "sample string 8", "ReviewedById": 9, "ReviewedBy": "sample string 10", "DateReviewed": "2024-12-21 15:22:02", "Comment": "sample string 11", "Attachment": { "AttachmentType": 1, "FileId": 1, "FileName": "sample string 12", "Version": 1 } } }
application/xml, text/xml
Sample:
<API_Data_PeriodScoreItem 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:AccountType>sample string 7</d2p1:AccountType> <d2p1:Comment>sample string 11</d2p1:Comment> <d2p1:DateReviewed>2024-12-21T19:22:02.412323-08:00</d2p1:DateReviewed> <d2p1:FinishDate>2024-12-21T19:22:02.412323-08:00</d2p1:FinishDate> <d2p1:JobPerformanceIssueId>3</d2p1:JobPerformanceIssueId> <d2p1:JobResponsibility>sample string 8</d2p1:JobResponsibility> <d2p1:Owner>sample string 6</d2p1:Owner> <d2p1:OwnerId>5</d2p1:OwnerId> <d2p1:ProjectId>1</d2p1:ProjectId> <d2p1:ReviewedBy>sample string 10</d2p1:ReviewedBy> <d2p1:ReviewedById>9</d2p1:ReviewedById> <d2p1:Score>4</d2p1:Score> <d2p1:ScoreItemId>2</d2p1:ScoreItemId> <d2p1:StartDate>2024-12-21T19:22:02.412323-08:00</d2p1:StartDate> <d2p1:RelatedSprints> <d2p1:SprintInfo> <d2p1:GeneralInfo> <d2p1:PlanEndDate>2024-12-21T19:22:02.412323-08:00</d2p1:PlanEndDate> <d2p1:PlanStartDate>2024-12-21T19:22:02.412323-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:AccountType>sample string 8</d2p1:AccountType> <d2p1:Comment>sample string 12</d2p1:Comment> <d2p1:DateReviewed>2024-12-21T19:22:02.412323-08:00</d2p1:DateReviewed> <d2p1:JobResponsibility>sample string 9</d2p1:JobResponsibility> <d2p1:Owner>sample string 7</d2p1:Owner> <d2p1:OwnerId>6</d2p1:OwnerId> <d2p1:ProjectId>1</d2p1:ProjectId> <d2p1:ReviewedBy>sample string 11</d2p1:ReviewedBy> <d2p1:ReviewedById>10</d2p1:ReviewedById> <d2p1:Score>5</d2p1:Score> <d2p1:ScoreItemId>2</d2p1:ScoreItemId> <d2p1:SprintFinishDate>2024-12-21T19:22:02.412323-08:00</d2p1:SprintFinishDate> <d2p1:SprintId>3</d2p1:SprintId> <d2p1:SprintName>sample string 4</d2p1:SprintName> <d2p1:SprintStartDate>2024-12-21T19:22:02.412323-08:00</d2p1:SprintStartDate> <d2p1:Summary> <d2p1:AutoScore>4.1</d2p1:AutoScore> <d2p1:FinishedPoints>2</d2p1:FinishedPoints> <d2p1:FinishedTaskCount>1</d2p1:FinishedTaskCount> </d2p1:Summary> </d2p1:Score> <d2p1:Summary> <d2p1:AutoScore>4.1</d2p1:AutoScore> <d2p1:FinishedPoints>2</d2p1:FinishedPoints> <d2p1:FinishedTaskCount>1</d2p1:FinishedTaskCount> </d2p1:Summary> </d2p1:SprintInfo> <d2p1:SprintInfo> <d2p1:GeneralInfo> <d2p1:PlanEndDate>2024-12-21T19:22:02.412323-08:00</d2p1:PlanEndDate> <d2p1:PlanStartDate>2024-12-21T19:22:02.412323-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:AccountType>sample string 8</d2p1:AccountType> <d2p1:Comment>sample string 12</d2p1:Comment> <d2p1:DateReviewed>2024-12-21T19:22:02.412323-08:00</d2p1:DateReviewed> <d2p1:JobResponsibility>sample string 9</d2p1:JobResponsibility> <d2p1:Owner>sample string 7</d2p1:Owner> <d2p1:OwnerId>6</d2p1:OwnerId> <d2p1:ProjectId>1</d2p1:ProjectId> <d2p1:ReviewedBy>sample string 11</d2p1:ReviewedBy> <d2p1:ReviewedById>10</d2p1:ReviewedById> <d2p1:Score>5</d2p1:Score> <d2p1:ScoreItemId>2</d2p1:ScoreItemId> <d2p1:SprintFinishDate>2024-12-21T19:22:02.412323-08:00</d2p1:SprintFinishDate> <d2p1:SprintId>3</d2p1:SprintId> <d2p1:SprintName>sample string 4</d2p1:SprintName> <d2p1:SprintStartDate>2024-12-21T19:22:02.412323-08:00</d2p1:SprintStartDate> <d2p1:Summary> <d2p1:AutoScore>4.1</d2p1:AutoScore> <d2p1:FinishedPoints>2</d2p1:FinishedPoints> <d2p1:FinishedTaskCount>1</d2p1:FinishedTaskCount> </d2p1:Summary> </d2p1:Score> <d2p1:Summary> <d2p1:AutoScore>4.1</d2p1:AutoScore> <d2p1:FinishedPoints>2</d2p1:FinishedPoints> <d2p1:FinishedTaskCount>1</d2p1:FinishedTaskCount> </d2p1:Summary> </d2p1:SprintInfo> </d2p1:RelatedSprints> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_PeriodScoreItem>