POST api/RtuControllerListingData
Request Information
URI Parameters
None.
Body Parameters
RtuControllerRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
None. |
|
| Serial | integer |
None. |
|
| MaxValue | decimal number |
None. |
|
| Threshold | decimal number |
None. |
|
| Port1 | integer |
None. |
|
| Port2 | integer |
None. |
|
| SubmitBy | integer |
None. |
|
| Token | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Name": "sample string 2",
"Serial": 3,
"MaxValue": 4.0,
"Threshold": 5.0,
"Port1": 6,
"Port2": 7,
"SubmitBy": 8,
"Token": "sample string 9"
}
application/xml, text/xml
Sample:
<RtuControllerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/M2senseWebApiProject.Models"> <ID>1</ID> <MaxValue>4</MaxValue> <Name>sample string 2</Name> <Port1>6</Port1> <Port2>7</Port2> <Serial>3</Serial> <SubmitBy>8</SubmitBy> <Threshold>5</Threshold> <Token>sample string 9</Token> </RtuControllerRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |