POST api/ENUM_TIPO_LOG/Create
Request Information
URI Parameters
None.
Body Parameters
ENUM_TIPO_LOG| Name | Description | Type | Additional information |
|---|---|---|---|
| TIPOLOGID | byte |
None. |
|
| DESCRITIVO | string |
None. |
|
| FINALIDADE | string |
None. |
|
| ENVIAR_ALERTA | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"TIPOLOGID": 64,
"DESCRITIVO": "sample string 2",
"FINALIDADE": "sample string 3",
"ENVIAR_ALERTA": true
}
text/plain
Sample:
{"TIPOLOGID":64,"DESCRITIVO":"sample string 2","FINALIDADE":"sample string 3","ENVIAR_ALERTA":true}
application/xml, text/xml
Sample:
<ENUM_TIPO_LOG 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> <ENVIAR_ALERTA>true</ENVIAR_ALERTA> <FINALIDADE>sample string 3</FINALIDADE> <TIPOLOGID>64</TIPOLOGID> </ENUM_TIPO_LOG>
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": "6be270ae-b049-41c1-b03d-380f33f22a1e"
}
text/plain
Sample:
{"Success":true,"Message":"sample string 2","Detail":"sample string 3","Total":4,"ID_OBJECT":"6be270ae-b049-41c1-b03d-380f33f22a1e"}
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>6be270ae-b049-41c1-b03d-380f33f22a1e</ID_OBJECT> <Message>sample string 2</Message> <Success>true</Success> <Total>4</Total> </DataResultModel>