view server/rest/query @ 527:9545adcfceeb

Removed sql statement and added column header to query selection.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 16 Dec 2014 18:27:59 +0100
parents 0952c7767d98
children
line wrap: on
line source
{
    "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