gw_fct_getfeaturerelation - Giswater/giswater_dbmodel GitHub Wiki
Description
Get information about all relations that given feature has
Input example
SELECT gw_fct_getfeaturerelation($${
"client":{"device":4, "infoType":1, "lang":"ES"},
"feature":{"type":"ARC"},
"data":{"feature_id":"2098" }}$$);
Output example
{
"status": "Accepted",
"version": {
"value": "3.4.019"
},
"message": {
"level": 1,
"text": ""
},
"body": {
"data": {
"info": {
"geometryType": "",
"values": [
{
"id": 3371,
"message": "FEATURE RELATIONS"
},
{
"id": 3372,
"message": "------------------------------"
},
{
"id": 3373,
"message": "Connecs connected with the feature :3175"
},
{
"id": 3374,
"message": "Nodes connected with the feature: 1022,1086"
},
{
"id": 3375,
"message": "Elements connected with the feature: 1897"
},
{
"id": 3376,
"message": "Visits connected with the feature: 473"
},
{
"id": 3377,
"message": "Documents connected with the feature: Demo document 1,Demo document 3,Demo document 2"
}
]
}
}
}
}