username:password
Authorization: Basic *****************
{
"deviceNames": [
"string"
],
"productID": "string",
"dataID": "string",
"timeStart": "string",
"timeEnd": "string",
"argFunc": "string",
"interval": 0,
"fill": "string",
"order": 0,
"page": {
"page": 0,
"size": 0
}
}
curl --location --request POST 'http://42.193.250.251:7777/api/v1/things/device/msg/property-log/index' \
--header 'iThings-token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVaWQiOiIxNzY2MjUyMTY2OTI5NjEyODAwIiwiUm9sZSI6NSwiSXNBbGxEYXRhIjoyLCJleHAiOjE2ODcwMTUyMDYsImlhdCI6MTY4NzAwOTMxMn0.xxFiBpYlTIDLYhN-_stlrmYGOLqF-wHJKBSqs-zVb8k' \
--header 'iThings-project-id: 123123123' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
"deviceNames": [
"string"
],
"productID": "string",
"dataID": "string",
"timeStart": "string",
"timeEnd": "string",
"argFunc": "string",
"interval": 0,
"fill": "string",
"order": 0,
"page": {
"page": 0,
"size": 0
}
}'
{
"code": 200,
"msg": "success",
"data": {
"list": [
{
"timestamp": "1655473794036",
"dataID": "GPS_Info",
"getValue": "{\"latitude\":33,\"longtitude\":33}"
},
{
"timestamp": "1655472886280",
"dataID": "GPS_Info",
"getValue": "{\"latitude\":33,\"longtitude\":33}"
}
],
"total": "2"
}
}