token: ********************curl --location '/resource/string/readings?period=string&function=string&from=string&to=string&offset=0&nulls=3549' \
--header 'Accept: application/json' \
--header 'token: <api-key>'{
"status": "OK",
"name": "electicity consumption",
"resourceTypeId": "f8e6fb07-6307-4e0e-8a17-4b94bc7249c2",
"resourceId": "8f2a0722-3b59-47a6-a115-d43fcc0c5d1c",
"classifier": "electricity.consumption",
"data": [
[
1549481709,
1000
],
[
1549481709,
1000
]
],
"units": "W",
"query": {
"from": "2019-02-06T17:00:00",
"to": "2019-02-06T18:00:00",
"period": "PT1H",
"function": "sum"
}
}