-
Notifications
You must be signed in to change notification settings - Fork 11
gw_fct_getfilters
edgarfuste edited this page Jun 1, 2022
·
2 revisions
Get filter dialog and values for current user
SELECT gw_fct_getfilters($${
"client":{"device":4, "infoType":1, "lang":"ES", "cur_user":"test"}, "form":{},
"feature":{},
"data":{"istilemap":True}}$$);
Common input parameters: (client
, form
, feature
)
Specific input parameters: (data
)
We always work with names as much autodocumented as possible. If you feel some else please request it to [email protected].
Common output parameters: (status
, message
, version
)
Specific output parameters: (body
)
We always work with names as much autodocumented as possible. If you feel some else please request it to [email protected].
{
"status": "Accepted",
"apiVersion": {
"value": "0.9.101"
},
"formTabs": [
{
"fields": [
{
"label": "expl_01",
"name": 1,
"type": "check",
"dataType": "boolean",
"value": true,
"disabled": false
},
{
"label": "expl_02",
"name": 2,
"type": "check",
"dataType": "boolean",
"value": true,
"disabled": false
},
{
"label": "Undefined",
"name": 0,
"type": "check",
"dataType": "boolean",
"value": true,
"disabled": false
}
],
"tabName": "selector_expl",
"tabLabel": "Explotacions",
"tabIdName": "expl_id",
"active": true
},
{
"fields": [
{
"label": "OBSOLETE",
"name": 0,
"type": "check",
"dataType": "boolean",
"value": false,
"disabled": false
},
{
"label": "ON_SERVICE",
"name": 1,
"type": "check",
"dataType": "boolean",
"value": true,
"disabled": false
},
{
"label": "PLANIFIED",
"name": 2,
"type": "check",
"dataType": "boolean",
"value": false,
"disabled": false
}
],
"tabName": "selector_state",
"tabLabel": "Elements xarxa",
"tabIdName": "state",
"active": false
},
{
"fields": [
{
"label": "STATE0",
"name": 0,
"type": "check",
"dataType": "boolean",
"value": true,
"disabled": false
},
{
"label": "STATE1",
"name": 1,
"type": "check",
"dataType": "boolean",
"value": true,
"disabled": false
},
{
"label": "STATE2",
"name": 2,
"type": "check",
"dataType": "boolean",
"value": true,
"disabled": false
},
{
"label": "STATE3",
"name": 3,
"type": "check",
"dataType": "boolean",
"value": true,
"disabled": false
},
{
"label": "STATE4",
"name": 4,
"type": "check",
"dataType": "boolean",
"value": true,
"disabled": false
}
],
"tabName": "selector_hydrometer",
"tabLabel": "Abonats",
"tabIdName": "state_id",
"active": false
},
{
"fields": [
{
"label": 0,
"name": 0,
"type": "check",
"dataType": "boolean",
"value": false,
"disabled": false
},
{
"label": 1,
"name": 1,
"type": "check",
"dataType": "boolean",
"value": false,
"disabled": false
},
{
"label": 2,
"name": 2,
"type": "check",
"dataType": "boolean",
"value": false,
"disabled": false
},
{
"label": 3,
"name": 3,
"type": "check",
"dataType": "boolean",
"value": false,
"disabled": false
},
{
"label": 4,
"name": 4,
"type": "check",
"dataType": "boolean",
"value": false,
"disabled": false
},
{
"label": 5,
"name": 5,
"type": "check",
"dataType": "boolean",
"value": false,
"disabled": false
},
{
"label": 6,
"name": 6,
"type": "check",
"dataType": "boolean",
"value": false,
"disabled": false
},
{
"label": 7,
"name": 7,
"type": "check",
"dataType": "boolean",
"value": false,
"disabled": false
},
{
"label": 8,
"name": 8,
"type": "check",
"dataType": "boolean",
"value": false,
"disabled": false
},
{
"label": 9,
"name": 9,
"type": "check",
"dataType": "boolean",
"value": false,
"disabled": false
},
{
"label": 10,
"name": 10,
"type": "check",
"dataType": "boolean",
"value": false,
"disabled": false
}
],
"tabName": "selector_lot",
"tabLabel": "Lots",
"tabIdName": "lot_id",
"active": false
}
]
}