diff server/rest/query @ 486:0952c7767d98

Added new static data matching the new data model.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 31 Oct 2014 21:06:19 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/server/rest/query	Fri Oct 31 21:06:19 2014 +0100
@@ -0,0 +1,27 @@
+{
+    "success":true,
+    "message":"200",
+    "data":[{
+        "id":1,
+        "name":"Kein Filter",
+        "description":"Abfrage der Proben ohne Filter",
+        "sql":"select probe_id, mst_id, umw_id from l_probe",
+        "filters":[],
+        "results":[{
+            "dataIndex":"probeIdAlt",
+            "header":"ProbeId",
+            "flex":0,
+            "width":100
+        },{
+            "dataIndex":"mstId",
+            "header":"MST",
+            "flex":0,
+            "width":100
+        },{
+            "dataIndex":"umwId",
+            "header":"Umweltbereich",
+            "flex":0,
+            "width":100
+        }]
+    }]
+}

http://lada.wald.intevation.org