POST api/Data
Save textfile in SQL with the name of the measuring unit
Request Information
URI Parameters
None.
Body Parameters
DataName | Description | Type | Additional information |
---|---|---|---|
device |
string type |
string |
None. |
lines |
string type |
string |
None. |
password | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "device": "sample string 1", "lines": "sample string 2", "password": "sample string 3" }
application/xml, text/xml
Sample:
<DataController.Data xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/wscc.Controllers"> <device>sample string 1</device> <lines>sample string 2</lines> <password>sample string 3</password> </DataController.Data>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>