POST api/CADASTRO_API/Create
Request Information
URI Parameters
None.
Body Parameters
CADASTRO_API| Name | Description | Type | Additional information |
|---|---|---|---|
| APIID | globally unique identifier |
None. |
|
| DESCRITIVO | string |
None. |
|
| FINALIDADE | string |
None. |
|
| TABELA_NOME | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"APIID": "5b4cd5b0-b990-4b9a-b37d-51202ddb3052",
"DESCRITIVO": "sample string 2",
"FINALIDADE": "sample string 3",
"TABELA_NOME": "sample string 4"
}
text/plain
Sample:
{"APIID":"5b4cd5b0-b990-4b9a-b37d-51202ddb3052","DESCRITIVO":"sample string 2","FINALIDADE":"sample string 3","TABELA_NOME":"sample string 4"}
application/xml, text/xml
Sample:
<CADASTRO_API xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Robotizei.RBT_MONITOR.Domain.Entities"> <APIID>5b4cd5b0-b990-4b9a-b37d-51202ddb3052</APIID> <DESCRITIVO>sample string 2</DESCRITIVO> <FINALIDADE>sample string 3</FINALIDADE> <TABELA_NOME>sample string 4</TABELA_NOME> </CADASTRO_API>
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": "abb44cd2-1a25-4faf-817d-a37eddf1b394"
}
text/plain
Sample:
{"Success":true,"Message":"sample string 2","Detail":"sample string 3","Total":4,"ID_OBJECT":"abb44cd2-1a25-4faf-817d-a37eddf1b394"}
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>abb44cd2-1a25-4faf-817d-a37eddf1b394</ID_OBJECT> <Message>sample string 2</Message> <Success>true</Success> <Total>4</Total> </DataResultModel>