PUT api/CONTROLE_TAREFA/Edit/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
CONTROLE_TAREFA| Name | Description | Type | Additional information |
|---|---|---|---|
| TAREFAID | globally unique identifier |
None. |
|
| TIPOTAREFAID | byte |
None. |
|
| FINALIZADA | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"TAREFAID": "fba7eb2d-7643-4d7b-be51-ac20bb5da5fe",
"TIPOTAREFAID": 64,
"FINALIZADA": true
}
text/plain
Sample:
{"TAREFAID":"fba7eb2d-7643-4d7b-be51-ac20bb5da5fe","TIPOTAREFAID":64,"FINALIZADA":true}
application/xml, text/xml
Sample:
<CONTROLE_TAREFA xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Robotizei.RBT_MONITOR.Domain.Entities"> <FINALIZADA>true</FINALIZADA> <TAREFAID>fba7eb2d-7643-4d7b-be51-ac20bb5da5fe</TAREFAID> <TIPOTAREFAID>64</TIPOTAREFAID> </CONTROLE_TAREFA>
application/x-www-form-urlencoded
Sample:
Sample not available.
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": "eb6b0413-f94e-4ef4-8320-a30d733210d0"
}
text/plain
Sample:
{"Success":true,"Message":"sample string 2","Detail":"sample string 3","Total":4,"ID_OBJECT":"eb6b0413-f94e-4ef4-8320-a30d733210d0"}
application/xml, text/xml
Sample:
<DataResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Robotizei.RBT_MONITOR.Domain.Model"> <Detail>sample string 3</Detail> <ID_OBJECT>eb6b0413-f94e-4ef4-8320-a30d733210d0</ID_OBJECT> <Message>sample string 2</Message> <Success>true</Success> <Total>4</Total> </DataResultModel>