POST api/CONFIG_API/Create
Request Information
URI Parameters
None.
Body Parameters
CONFIG_APIName | Description | Type | Additional information |
---|---|---|---|
APIID | globally unique identifier |
None. |
|
RETENCAO_DIAS | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "APIID": "9c3cc77b-a1de-4669-b116-d1b7b72d4bc9", "RETENCAO_DIAS": 2 }
text/plain
Sample:
{"APIID":"9c3cc77b-a1de-4669-b116-d1b7b72d4bc9","RETENCAO_DIAS":2}
application/xml, text/xml
Sample:
<CONFIG_API xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Robotizei.RBT_MONITOR.Domain.Entities"> <APIID>9c3cc77b-a1de-4669-b116-d1b7b72d4bc9</APIID> <RETENCAO_DIAS>2</RETENCAO_DIAS> </CONFIG_API>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DataResultModelName | 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": "9d4f9f46-eca2-4322-a6bf-8ba603536b1c" }
text/plain
Sample:
{"Success":true,"Message":"sample string 2","Detail":"sample string 3","Total":4,"ID_OBJECT":"9d4f9f46-eca2-4322-a6bf-8ba603536b1c"}
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>9d4f9f46-eca2-4322-a6bf-8ba603536b1c</ID_OBJECT> <Message>sample string 2</Message> <Success>true</Success> <Total>4</Total> </DataResultModel>