diff --git a/ws2011/BP/Datenbank Backups/dasensedata_2011_01_30_zeit_12_40.sql.zip b/ws2011/BP/Datenbank Backups/dasensedata_2011_01_30_zeit_12_40.sql.zip new file mode 100644 index 00000000..78bea6be Binary files /dev/null and b/ws2011/BP/Datenbank Backups/dasensedata_2011_01_30_zeit_12_40.sql.zip differ diff --git a/ws2011/BP/Json von Julien/json_testen.txt b/ws2011/BP/Json von Julien/json_testen.txt index c823fcb3..690d73d0 100644 --- a/ws2011/BP/Json von Julien/json_testen.txt +++ b/ws2011/BP/Json von Julien/json_testen.txt @@ -8,9 +8,12 @@ http://www.da-sense.de/test/api.php?flag=deviceinfo&json={"deviceType":1, "devic JSON Format flag = input: -http://www.da-sense.de/test/api.php?flag=input&source=smartphone&json={"device":"APITEST","measurementType":1, "user":20, "series": [ { "name":"testseries3", "visibility":0, "timestamp":1 , "values": [ { "timestamp":1, "value":52.25234634, "longitude":0, "latitude":0, "altitude":0, "accuracy":0, "speed":null, "provider":"GPS", "tags": [ { "key": 1, "value":35 } ] } ] } ] } +http://www.da-sense.de/test/api.php?flag=input&source=smartphone&json={"device":"APITEST","measurementType":1, "user":20, "series": [ { "name":"testseries4", "visibility":0, "timestamp":1 , "values": [ { "timestamp":1, "value":52.25234634, "longitude":0, "latitude":0, "altitude":0, "accuracy":0, "speed":null, "provider":"GPS", "tags": [ { "key": 1, "value":35 } ] } ] }, { "name":"testseries5", "visibility":0, "timestamp":2 , "values": [ { "timestamp":1, "value":62.25234634, "longitude":0, "latitude":0, "altitude":0, "accuracy":0, "speed":null, "provider":"GPS", "tags": [ { "key": 1, "value":35 } ] } ] }] } JSON Format result = ? : -http://www.da-sense.de/test/api.php?result= …. \ No newline at end of file +http://www.da-sense.de/test/api.php?result= …. + + +{"device":"357194040202988","series":[{"timestamp":1327825923746,"visibility":1,"values":[{"tags":[{"value":"44100","key":"measurement:samples:count"}],"timestamp":1327825925143,"speed":0,"altitude":0,"value":213.6781463623047,"provider":"network","longitude":8.6091076,"latitude":49.676669,"accuracy":39},{"tags":[{"value":"220500","key":"measurement:samples:count"}],"timestamp":1327825930152,"speed":0,"altitude":0,"value":139.90003967285156,"provider":"network","longitude":8.6091076,"latitude":49.676669,"accuracy":39} ,"name":"testparser22"}],"user":94,"measurementType":1} \ No newline at end of file