WS for setting configuration (relations between class fields and layers) required to calculation of area *
Get list of relations between layers and class fields
media type | data type | description |
---|---|---|
application/json | object | JSON Response with list of relations
Example of response:
{"list":[{"classId":10, "classLabel":"class label", "className":"class name", "fieldName":"field name", "layerName":"layer name", "layerId":1}]}
|
Calculate area for all object's
media type | data type | description |
---|---|---|
application/json | object | JSON Response with report about object (was it updated or not) |
Add relation between layer and class field
Example of request:
{"classId":10, "fieldName":"field name", "layerId":1}
media type | data type |
---|---|
application/json | object |
media type | data type | description |
---|---|---|
application/json | object | JSON Response indicating where operation was successfully or not |
Remove relation between layer and class field
Example of request:
{"classId":10, "fieldName":"field name", "layerName":"layer name"}
media type | data type |
---|---|
application/json | object |
media type | data type | description |
---|---|---|
application/json | object | JSON Response indicating where operation was successfully or not |