PUT api/CONTROLE_TAREFA/Edit/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

CONTROLE_TAREFA
NameDescriptionTypeAdditional information
TAREFAID

globally unique identifier

None.

TIPOTAREFAID

byte

None.

FINALIZADA

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "TAREFAID": "81b2b6d7-7c5f-4996-bf63-35bf4887a860",
  "TIPOTAREFAID": 64,
  "FINALIZADA": true
}

text/plain

Sample:
{"TAREFAID":"81b2b6d7-7c5f-4996-bf63-35bf4887a860","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>81b2b6d7-7c5f-4996-bf63-35bf4887a860</TAREFAID>
  <TIPOTAREFAID>64</TIPOTAREFAID>
</CONTROLE_TAREFA>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DataResultModel
NameDescriptionTypeAdditional 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": "525aa01f-75d0-4584-abf9-711078c758e5"
}

text/plain

Sample:
{"Success":true,"Message":"sample string 2","Detail":"sample string 3","Total":4,"ID_OBJECT":"525aa01f-75d0-4584-abf9-711078c758e5"}

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>525aa01f-75d0-4584-abf9-711078c758e5</ID_OBJECT>
  <Message>sample string 2</Message>
  <Success>true</Success>
  <Total>4</Total>
</DataResultModel>