gw_fct_admin_manage_child_views - Giswater/giswater_dbmodel GitHub Wiki
Description
Function to admin child views. Action key values:
- "SINGLE-CREATE" - creates child view and its configuration for a defined feature
- "MULTI-CREATE" - creates child view and its configuration for a all features
- "SINGLE-UPDATE" - recreates selected view without deleting current configuration
- "MULTI-UPDATE" - recreates all views without deleting current configuration
- "MULTI-DELETE" - removes all child views
Input example
SELECT gw_fct_admin_manage_child_views($${"client":{
"device":4, "infoType":1, "lang":"ES"},
"form":{}, "feature":{"catFeature":"T"},
"data":{"filterFields":{}, "pageInfo":{}, "action":"SINGLE-CREATE" }}$$);
Output example
{
"status": "Accepted",
"message": {
"level": 0,
"text": "Single-create view successfully"
},
"body": {
"form": {},
"data": {}
}
}