POST sensor/setProjectSensors?tokenUser={tokenUser}&tokenProject={tokenProject}
Import CSV file of sensors data for the given project and user token
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
tokenUser |
tokenUser retrieved by user/getUserToken method |
string |
Required |
tokenProject |
tokenProject retrieved by user/getUserProjects method |
string |
Required |
Body Parameters
Base64 string of the file content
Dictionary of string [key] and string [value]Request Formats
application/json, text/json
Sample:
{ "sample string 1": "sample string 2", "sample string 3": "sample string 4" }
text/plain
Sample:
{"sample string 1":"sample string 2","sample string 3":"sample string 4"}
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfstringstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <KeyValueOfstringstring> <Key>sample string 1</Key> <Value>sample string 2</Value> </KeyValueOfstringstring> <KeyValueOfstringstring> <Key>sample string 3</Key> <Value>sample string 4</Value> </KeyValueOfstringstring> </ArrayOfKeyValueOfstringstring>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json, text/plain
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />