view server/rest/query @ 544:d2e90f117c20

updated error and warning handling.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 18 Dec 2014 15:04:21 +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