POST api/ENUM_ETAPA/Create

Request Information

URI Parameters

None.

Body Parameters

ENUM_ETAPA
NameDescriptionTypeAdditional information
ETAPAID

byte

None.

DESCRITIVO

string

None.

FINALIDADE

string

None.

FALHA

boolean

None.

FINALIZADORA

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ETAPAID": 64,
  "DESCRITIVO": "sample string 2",
  "FINALIDADE": "sample string 3",
  "FALHA": true,
  "FINALIZADORA": true
}

text/plain

Sample:
{"ETAPAID":64,"DESCRITIVO":"sample string 2","FINALIDADE":"sample string 3","FALHA":true,"FINALIZADORA":true}

application/xml, text/xml

Sample:
<ENUM_ETAPA xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Robotizei.RBT_MONITOR.Domain.Entities">
  <DESCRITIVO>sample string 2</DESCRITIVO>
  <ETAPAID>64</ETAPAID>
  <FALHA>true</FALHA>
  <FINALIDADE>sample string 3</FINALIDADE>
  <FINALIZADORA>true</FINALIZADORA>
</ENUM_ETAPA>

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": "6a7382f2-0e62-4f72-81ec-1d9cb03e6707"
}

text/plain

Sample:
{"Success":true,"Message":"sample string 2","Detail":"sample string 3","Total":4,"ID_OBJECT":"6a7382f2-0e62-4f72-81ec-1d9cb03e6707"}

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>6a7382f2-0e62-4f72-81ec-1d9cb03e6707</ID_OBJECT>
  <Message>sample string 2</Message>
  <Success>true</Success>
  <Total>4</Total>
</DataResultModel>