view queryconf.json @ 328:835eec282baa

New service for LAF export. This service exports a single probe object identified by its id. It is reachable via /server/rest/export/laf/$PROBEID.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 27 Aug 2013 09:47:07 +0200
parents 82bea32eddb7
children 9c3b3d34b260
line wrap: on
line source
[{
    "id": 1,
    "name": "Kein Filter",
    "description": "Abfrage der Proben ohne Filter",
    "sql": "select probe_id, mst_id, umw_id from l_probe",
    "result": [
        {"dataIndex": "probeId", "header": "ProbeId", "flex": 1},
        {"dataIndex": "mstId", "header": "MST", "width": 100},
        {"dataIndex": "umwId", "header": "Umweltbereich", "width": 100}
    ],
    "filters": [
    ]
}, {
    "id": 2,
    "name": "MST und UMW",
    "description": "Abfrage der Proben gefiltert nach Messtellen ID und ID des Umweltbereichs",
    "sql": "select probe_id, mst_id, umw_id from l_probe where (mst_id = :mst_id OR '' = :mst_id) and (umw_id = :umw_id OR '' = :umw_id)",
    "result": [
        {"dataIndex": "probeId", "header": "ProbeId", "flex": 1},
        {"dataIndex": "mstId", "header": "MST", "width": 100},
        {"dataIndex": "umwId", "header": "Umweltbereich", "width": 100}
    ],
    "filters": [
        {"dataIndex": "mst_id", "type": "listmst", "label": "Messstelle"},
        {"dataIndex": "umw_id", "type": "listumw", "label": "Umweltbereich"}
    ]
}, {
    "id": 3,
    "name": "3. Abfrage",
    "description": "Detailiertere Beschreibung der Abfrage",
    "sql": "select probe_id, mst_id, umw_id from l_probe where (mst_id = :mst_id OR '' = :mst_id)",
    "result": [
        {"dataIndex": "probeId", "header": "ProbeId", "flex": 1},
        {"dataIndex": "mstId", "header": "MST", "width": 100},
        {"dataIndex": "umwId", "header": "Umweltbereich", "width": 100}
    ],
    "filters": [
        {"dataIndex": "mst_id", "type": "listmst", "label": "Messstelle"}
    ]
}]
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)