PUT api/v1/TaskToExecute/SetStatus?environmentId={environmentId}&taskControlId={taskControlId}&status={status}&detail={detail}&sendNotification={sendNotification}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| environmentId | globally unique identifier |
Required |
|
| taskControlId | globally unique identifier |
Required |
|
| status | TaskControlStatus |
Required |
|
| detail | string |
Required |
|
| sendNotification | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
DataResultModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Detail | string |
None. |
|
| Total | integer |
None. |
|
| ID_OBJECT | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Detail": "sample string 3",
"Total": 4,
"ID_OBJECT": "80eafd86-dff7-467a-b7f0-0b965f785147"
}
application/xml, text/xml
Sample:
<DataResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Robotizei.Common.WebAPI.Model"> <Detail>sample string 3</Detail> <ID_OBJECT>80eafd86-dff7-467a-b7f0-0b965f785147</ID_OBJECT> <Message>sample string 2</Message> <Success>true</Success> <Total>4</Total> </DataResultModel>