PUT api/SuntechTaskWIP/UpdateDeployment?MID={MID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
MID | integer |
Required |
Body Parameters
Deployment_updateName | Description | Type | Additional information |
---|---|---|---|
DEPLOYMENT_PERCENTAGE_COMPLETED | integer |
None. |
|
DEPLOYMENT_COMMENTS | string |
None. |
|
STATUS | string |
None. |
|
HOURS_SPEND | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "DEPLOYMENT_PERCENTAGE_COMPLETED": 1, "DEPLOYMENT_COMMENTS": "sample string 2", "STATUS": "sample string 3", "HOURS_SPEND": 4 }
text/html
Sample:
{"DEPLOYMENT_PERCENTAGE_COMPLETED":1,"DEPLOYMENT_COMMENTS":"sample string 2","STATUS":"sample string 3","HOURS_SPEND":4}
application/xml, text/xml
Sample:
<Deployment_update xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SuntechSupportServices.Models.SuntechInternal.TASK"> <DEPLOYMENT_COMMENTS>sample string 2</DEPLOYMENT_COMMENTS> <DEPLOYMENT_PERCENTAGE_COMPLETED>1</DEPLOYMENT_PERCENTAGE_COMPLETED> <HOURS_SPEND>4</HOURS_SPEND> <STATUS>sample string 3</STATUS> </Deployment_update>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DEPLOYMENT_PERCENTAGE_COMPLETED" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DEPLOYMENT_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
Deployment_updateResultName | Description | Type | Additional information |
---|---|---|---|
status | string |
None. |
|
message | string |
None. |
|
suntechTaskView | Deployment_update |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": "sample string 1", "message": "sample string 2", "suntechTaskView": { "DEPLOYMENT_PERCENTAGE_COMPLETED": 1, "DEPLOYMENT_COMMENTS": "sample string 2", "STATUS": "sample string 3", "HOURS_SPEND": 4 } }
text/html
Sample:
{"status":"sample string 1","message":"sample string 2","suntechTaskView":{"DEPLOYMENT_PERCENTAGE_COMPLETED":1,"DEPLOYMENT_COMMENTS":"sample string 2","STATUS":"sample string 3","HOURS_SPEND":4}}
application/xml, text/xml
Sample:
<Deployment_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> <DEPLOYMENT_COMMENTS>sample string 2</DEPLOYMENT_COMMENTS> <DEPLOYMENT_PERCENTAGE_COMPLETED>1</DEPLOYMENT_PERCENTAGE_COMPLETED> <HOURS_SPEND>4</HOURS_SPEND> <STATUS>sample string 3</STATUS> </suntechTaskView> </Deployment_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.DEPLOYMENT_PERCENTAGE_COMPLETED" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="suntechTaskView.DEPLOYMENT_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--