Mercurial > lada > lada-client
annotate server/rest/query @ 500:ad7f574b382a
Fixed some js related issues (unused vars, arrays, etc.) and code style.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 06 Nov 2014 11:20:47 +0100 |
parents | 0952c7767d98 |
children |
rev | line source |
---|---|
486
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
1 { |
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
2 "success":true, |
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
3 "message":"200", |
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
4 "data":[{ |
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
5 "id":1, |
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
6 "name":"Kein Filter", |
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
7 "description":"Abfrage der Proben ohne Filter", |
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
8 "sql":"select probe_id, mst_id, umw_id from l_probe", |
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
9 "filters":[], |
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
10 "results":[{ |
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
11 "dataIndex":"probeIdAlt", |
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
12 "header":"ProbeId", |
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
13 "flex":0, |
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
14 "width":100 |
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
15 },{ |
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
16 "dataIndex":"mstId", |
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
17 "header":"MST", |
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
18 "flex":0, |
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
19 "width":100 |
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
20 },{ |
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
21 "dataIndex":"umwId", |
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
22 "header":"Umweltbereich", |
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
23 "flex":0, |
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
24 "width":100 |
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
25 }] |
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
26 }] |
0952c7767d98
Added new static data matching the new data model.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
27 } |