Api session event editor global set point: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 31: | Line 31: | ||
|} | |} | ||
===Example POST=== | ===Example POST=== | ||
Example POST: https://engine.tygron.com/api/session/event/editorglobal/set_point/?crs=3857&f= | Example POST: https://engine.tygron.com/api/session/event/editorglobal/set_point/?crs=3857&f=JSON&token=API_TOKEN | ||
with content: | with content: | ||
<pre>[ | <pre>[ 51, { | ||
"type" : "Point", | "type" : "Point", | ||
"coordinates" : [ | "coordinates" : [ 658735.7870533093, 6799398.042173552 ] | ||
} ] | } ] | ||
</pre> | </pre> | ||
{{article end|seealso=*[[ | {{article end|seealso=*[[Api session event editor global]] | ||
*[[Api session items globals]] | |||
}} | |||
[[Category:API]] | [[Category:API]] | ||
Latest revision as of 12:06, 1 April 2026
API Event to Set Point
| Name | Importance | Type | Description | Values |
|---|---|---|---|---|
| 0 | REQUIRED | (GLOBAL Integer ID) | Global | |
| 1 | REQUIRED | (Point with crs: EPSG:3857) | Point |
Response Codes
| Response Code: | Description |
|---|---|
| 204 | No Content |
| 300-600 | Codes Overview |
Example POST
Example POST: https://engine.tygron.com/api/session/event/editorglobal/set_point/?crs=3857&f=JSON&token=API_TOKEN
with content:
[ 51, {
"type" : "Point",
"coordinates" : [ 658735.7870533093, 6799398.042173552 ]
} ]