Api session event editor netnode set location
API Event to Set Location
| Name | Importance | Type | Description | Values |
|---|---|---|---|---|
| 0 | REQUIRED | (Enumeration) | Network type | ELECTRICITY, GAS, HEAT, INTERNET or SEWER |
| 1 | REQUIRED | (NET_NODE Integer ID) | Net Node ID | |
| 2 | REQUIRED | (Point 3D with crs: EPSG:3857) | Location Point | |
| 3 | OPTIONAL | (Floating point number) | Node merge distance (optional, default: 1.0m) |
Response Codes
| Response Code: | Description |
|---|---|
| 204 | No Content |
| 300-600 | Codes Overview |
Example POST
Example POST: https://engine.tygron.com/api/session/event/editornetnode/set_location/?crs=3857&f=JSON&token=API_TOKEN
with content:
[ "GAS", 38, {
"type" : "Point",
"coordinates" : [ 658646.0129307219, 6799359.355649431, -0.69 ]
}, 1.0 ]