POST api/ENUM_ETAPA/Create
Request Information
URI Parameters
None.
Body Parameters
ENUM_ETAPA| Name | Description | Type | Additional 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| 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": "daddca45-766c-4138-94ec-f2bcc7eb4858"
}
text/plain
Sample:
{"Success":true,"Message":"sample string 2","Detail":"sample string 3","Total":4,"ID_OBJECT":"daddca45-766c-4138-94ec-f2bcc7eb4858"}
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>daddca45-766c-4138-94ec-f2bcc7eb4858</ID_OBJECT> <Message>sample string 2</Message> <Success>true</Success> <Total>4</Total> </DataResultModel>