POST api/PeriodScore/edit
Update a score object.
Request Information
URI Parameters
None.
Body Parameters
PeriodScoreUpdateBinderName | 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": "2024-12-21 18:43:32", "FinishDate": "2024-12-21 18:43:32", "Score": 4, "OwnerId": 5, "ReviewedById": 6, "DateReviewed": "2024-12-21 14:43:32", "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>2024-12-21T18:43:32.7489108-08:00</DateReviewed> <FinishDate>2024-12-21T18:43:32.7489108-08:00</FinishDate> <JobPerformanceIssueId>3</JobPerformanceIssueId> <OwnerId>5</OwnerId> <ProjectId>2</ProjectId> <ReviewedById>6</ReviewedById> <Score>4</Score> <StartDate>2024-12-21T18:43:32.7489108-08:00</StartDate> <ScoreItemId>1</ScoreItemId> </PeriodScoreUpdateBinder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Update a score object.
ApiReturnName | 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>