WS for setting configuration (relations between class fields and layers) required to calculation of area *
Calculate area for given objects
| media type | data type |
|---|---|
| application/json | string (JSON) |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | JSON Response with report about object (was it updated or not)
Example of response:
{"updated":[{"classId":"108","objectId":"5183","objectName":"3","classLabel":"Rum","fields":[{"value":"41.7483","label":"Area BTA","name":"fi2space_areabta"}]}],"failed":[]}
|
Calculate areas for all spots on all layers in given drawing
| name | type | description | default | constraints |
|---|---|---|---|---|
| drawingId | path | Overlay drawing ID |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | JSON Response with report about objects (were they updated or not)
Example of response:
{"updated":[{"classId":"108","objectId":"5183","objectName":"3","classLabel":"Rum","fields":[{"value":"41.7483","label":"Area BTA","name":"fi2space_areabta"}]}],"failed":[]}
|
Calculate area for given objects connected to spots on specified layer
| name | type | description | default | constraints |
|---|---|---|---|---|
| layerId | path | ID of layer to process | long |
| media type | data type |
|---|---|
| application/json | string (JSON) |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | JSON Response with report about object (was it updated or not)
Example of response:
{"updated":[{"classId":"108","objectId":"5183","objectName":"3","classLabel":"Rum","fields":[{"value":"41.7483","label":"Area BTA","name":"fi2space_areabta"}]}],"failed":[]}
|
Calculate areas for all spots on specified layer in given drawing
| name | type | description | default | constraints |
|---|---|---|---|---|
| drawingId | path | Overlay drawing ID | ||
| layerId | path | ID of layer to process | long |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | JSON Response with report about objects (were they updated or not)
Example of response:
{"updated":[{"classId":"108","objectId":"5183","objectName":"3","classLabel":"Rum","fields":[{"value":"41.7483","label":"Area BTA","name":"fi2space_areabta"}]}],"failed":[]}
|
Calculate area for given object with its subtree
| name | type | description | default | constraints |
|---|---|---|---|---|
| classId | path | long | ||
| objectId | path | long | ||
| perspId | path | long |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | JSON Response with report about object (was it updated or not)
Example of response:
{"updated":[{"classId":"108","objectId":"5183","objectName":"3","classLabel":"Rum","fields":[{"value":"41.7483","label":"Area BTA","name":"fi2space_areabta"}]}],"failed":[]}
|
Calculate area for given object with its subtree connected to spots on specified layer
| name | type | description | default | constraints |
|---|---|---|---|---|
| classId | path | long | ||
| layerId | path | ID of layer to process | long | |
| objectId | path | long | ||
| perspId | path | long |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | JSON Response with report about object (was it updated or not)
Example of response:
{"updated":[{"classId":"108","objectId":"5183","objectName":"3","classLabel":"Rum","fields":[{"value":"41.7483","label":"Area BTA","name":"fi2space_areabta"}]}],"failed":[]}
|