JSON Body
Only up to 50 MB are accepted in this format.
Headers:
Authorization: Bearer <TOKEN>
Content-Type: application/json; charset=utf-8
Body:
[
{
"time": <string>,
"asset": <string>,
"value": <number>,
"metric": <string>,
"unit": <string>
},
...
]
JSON File
We recommend using files smaller than 1.5GB.
Headers:
Authorization: Bearer <TOKEN>
Content-Type: multipart/form-data
Form:
Name: file
Type: file
File content:
[
{
"time": <string>,
"asset": <string>,
"value": <number>,
"metric": <string>,
"unit": <string>
},
...
]
CSV File
We recommend using files smaller than 1.5GB.
Headers:
Authorization: Bearer <TOKEN>
Content-Type: multipart/form-data
Form:
Name: file
Type: file
Headers are not mandatory, however, if they are not sent the data must be sorted in the following order:
"time","asset","metric","unit","value"
Example of file content with headers:
"time","asset","metric","unit","value"
<string>,<string>,<string>,<string>,<number>,<string>
...
Example of file content without headers:
"2021-12-31T23:45:00Z","Pipe1","flow","l/s",2.75
...
What's next?
➡️ Endpoint response