Api session event editor geooption set number
API Endpoint to Set Number.
API Endpoint name is Api session event editor geooption set number
| Name | Importance | Type | Description | Values |
|---|---|---|---|---|
| 0 | REQUIRED | (Enumeration) | Type | AGRICULTURE, BAG3D_GEOMETRIES, DTM_DSM_THRESHOLDS, HEIGHTMAP_RESOLUTION, I3S_GEOMETRIES, IMWA, INTEREST_AREA_MARGIN, NL_AHN, NL_BGT, NL_ENERGY_LABEL, NL_MAX_TREE_HEIGHT, NL_MIN_TREE_HEIGHT, NL_TRAFFIC_INFOMIL, NL_TRAFFIC_INWEVA, NL_TRAFFIC_NSL, NL_TRAFFIC_NSL_CONVERSION, OSM_BUILDINGS, OSM_LANDUSE, OSM_NEIGHBORHOODS, OSM_ROADS, OWNERSHIP, SATELLITE_RESOLUTION, TREES, UNDERGROUND, WATER or WORLD_WATER |
| 1 | REQUIRED | (Floating point number) | Double |
Response Codes
| Response Code: | Description |
|---|---|
| 204 | No Content |
| 300-600 | Codes Overview |
Example POST
Curl Example POST:
curl 'https://engine.tygron.com/api/session/event/editorgeooption/set_number/' -H 'Content-Type: application/json' -H 'Authorization: Bearer API_TOKEN' -d '[ "NL_BGT", 62 ]'Curl Example multi item POST:
curl 'https://engine.tygron.com/api/session/event/editorgeooption/set_number/' -H 'Content-Type: application/json' -H 'Authorization: Bearer API_TOKEN' -d '[ "NL_BGT", 59 ]'JavaScript Example POST:
var options = {
method: "POST",
headers: { "Content-Type": "application/json", "Authorization": "Bearer API_TOKEN" },
body: '[ "NL_BGT", 62 ]'
};
fetch("https://engine.tygron.com/api/session/event/editorgeooption/set_number/", options)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));