POST api/workQualityTracking/saveWorkQualityTracking
save work quality tracking based on a task
Request Information
URI Parameters
None.
Body Parameters
SaveWorkQualityTrackingBinderName | Description | Type | Additional information |
---|---|---|---|
ProjectBaseId | integer |
Required |
|
TaskId | integer |
Required |
|
WorkStoryId | integer |
None. |
|
LinkedCommentId | integer |
None. |
|
IfFinished | integer |
None. |
|
WorkQualityTrackingLinks | Collection of WorkQualityTrackingLinkInfo |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProjectBaseId": 1, "TaskId": 2, "WorkStoryId": 3, "LinkedCommentId": 4, "IfFinished": 5, "WorkQualityTrackingLinks": [ { "DTTProjectBaseId": 2, "TestCaseId": 3 }, { "DTTProjectBaseId": 2, "TestCaseId": 3 } ] }
application/xml, text/xml
Sample:
<SaveWorkQualityTrackingBinder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Binding"> <IfFinished>5</IfFinished> <LinkedCommentId>4</LinkedCommentId> <ProjectBaseId>1</ProjectBaseId> <TaskId>2</TaskId> <WorkQualityTrackingLinks> <WorkQualityTrackingLinkInfo> <DTTProjectBaseId>2</DTTProjectBaseId> <TestCaseId>3</TestCaseId> <WorkQualityTrackingId>1</WorkQualityTrackingId> </WorkQualityTrackingLinkInfo> <WorkQualityTrackingLinkInfo> <DTTProjectBaseId>2</DTTProjectBaseId> <TestCaseId>3</TestCaseId> <WorkQualityTrackingId>1</WorkQualityTrackingId> </WorkQualityTrackingLinkInfo> </WorkQualityTrackingLinks> <WorkStoryId>3</WorkStoryId> </SaveWorkQualityTrackingBinder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
save work quality tracking based on a task
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>