PUT api/SuntechTaskWIP/UpdateTC?MID={MID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
MID | integer |
Required |
Body Parameters
TC_updateName | Description | Type | Additional information |
---|---|---|---|
TC_PERCENTAGE_COMPLETED | integer |
None. |
|
TESTER_COMMENTS | string |
None. |
|
STATUS | string |
None. |
|
HOURS_SPEND | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "TC_PERCENTAGE_COMPLETED": 1, "TESTER_COMMENTS": "sample string 2", "STATUS": "sample string 3", "HOURS_SPEND": 4 }
text/html
Sample:
{"TC_PERCENTAGE_COMPLETED":1,"TESTER_COMMENTS":"sample string 2","STATUS":"sample string 3","HOURS_SPEND":4}
application/xml, text/xml
Sample:
<TC_update xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SuntechSupportServices.Models.SuntechInternal.TASK"> <HOURS_SPEND>4</HOURS_SPEND> <STATUS>sample string 3</STATUS> <TC_PERCENTAGE_COMPLETED>1</TC_PERCENTAGE_COMPLETED> <TESTER_COMMENTS>sample string 2</TESTER_COMMENTS> </TC_update>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="TC_PERCENTAGE_COMPLETED" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="TESTER_COMMENTS" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="STATUS" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="HOURS_SPEND" 4 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
TC_updateResultName | Description | Type | Additional information |
---|---|---|---|
status | string |
None. |
|
message | string |
None. |
|
suntechTaskView | TC_update |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": "sample string 1", "message": "sample string 2", "suntechTaskView": { "TC_PERCENTAGE_COMPLETED": 1, "TESTER_COMMENTS": "sample string 2", "STATUS": "sample string 3", "HOURS_SPEND": 4 } }
text/html
Sample:
{"status":"sample string 1","message":"sample string 2","suntechTaskView":{"TC_PERCENTAGE_COMPLETED":1,"TESTER_COMMENTS":"sample string 2","STATUS":"sample string 3","HOURS_SPEND":4}}
application/xml, text/xml
Sample:
<TC_updateResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SuntechSupportServices.Models.SuntechInternal.TASK"> <message>sample string 2</message> <status>sample string 1</status> <suntechTaskView> <HOURS_SPEND>4</HOURS_SPEND> <STATUS>sample string 3</STATUS> <TC_PERCENTAGE_COMPLETED>1</TC_PERCENTAGE_COMPLETED> <TESTER_COMMENTS>sample string 2</TESTER_COMMENTS> </suntechTaskView> </TC_updateResult>
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="status" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="message" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="suntechTaskView.TC_PERCENTAGE_COMPLETED" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="suntechTaskView.TESTER_COMMENTS" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="suntechTaskView.STATUS" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="suntechTaskView.HOURS_SPEND" 4 --MultipartDataMediaFormatterBoundary1q2w3e--