gw_fct_setmincut (js) - Giswater/giswater_dbmodel GitHub Wiki
Set values for current mincut
SELECT gw_fct_setmincut($${
"client":{"device":4, "infoType":1, "lang":"ES", "cur_user":"test_user"}, "form":{},
"feature":{},
"data":{"mincut_id_arg":null, "x":"419544.39398676", "y":"4576488.2140275", "srid_arg":25831, "device":3,
"insert_data":{"mincut_state":"0","mincut_type":"Real","anl_cause":"1","assigned_to":"abofill","anl_descript":"test","anl_tstamp":"2022-05-13 10:32:45",
"forecast_start":null,"forecast_end":null,"muni_id":"1","postcode":"08830","streetaxis_id":"1-11000C","exec_start":null,"exec_appropiate":"false",
"exec_end":null}, "element_type":"arc", "id_arg":"2095"}}$$);
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": "3.4.034"
},
"infoMessage": "WARNING: There are conflicts with other mincuts",
"visibleLayers": {},
"geometry": {
"st_astext": "{}"
},
"mincut_id": 85
}