POST api/PeriodScore/edit
Update a score object.
Request Information
URI Parameters
None.
Body Parameters
PeriodScoreUpdateBinder| Name | Description | Type | Additional information |
|---|---|---|---|
| ScoreItemId | integer |
None. |
|
| ProjectId | integer |
None. |
|
| JobPerformanceIssueId | integer |
None. |
|
| StartDate | date |
None. |
|
| FinishDate | date |
None. |
|
| Score | integer |
None. |
|
| OwnerId | integer |
None. |
|
| ReviewedById | integer |
None. |
|
| DateReviewed | date |
None. |
|
| Comment | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ScoreItemId": 1,
"ProjectId": 2,
"JobPerformanceIssueId": 3,
"StartDate": "2025-10-23 23:43:53",
"FinishDate": "2025-10-23 23:43:53",
"Score": 4,
"OwnerId": 5,
"ReviewedById": 6,
"DateReviewed": "2025-10-23 18:43:53",
"Comment": "sample string 7"
}
application/xml, text/xml
Sample:
<PeriodScoreUpdateBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding"> <Comment>sample string 7</Comment> <DateReviewed>2025-10-23T23:43:53.0290425-07:00</DateReviewed> <FinishDate>2025-10-23T23:43:53.0290425-07:00</FinishDate> <JobPerformanceIssueId>3</JobPerformanceIssueId> <OwnerId>5</OwnerId> <ProjectId>2</ProjectId> <ReviewedById>6</ReviewedById> <Score>4</Score> <StartDate>2025-10-23T23:43:53.0290425-07:00</StartDate> <ScoreItemId>1</ScoreItemId> </PeriodScoreUpdateBinder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Update a score object.
ApiReturn| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Error | ErrorInfo |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Error": {
"ErrorCode": 1,
"ErrorMessage": "sample string 1"
}
}
application/xml, text/xml
Sample:
<ApiReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
<Error>
<ErrorCode>1</ErrorCode>
<ErrorMessage>sample string 1</ErrorMessage>
</Error>
<Success>true</Success>
</ApiReturn>