Api session event editor global set point: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
Created page with "API Event to Set Point {|class=wikitable !Name !Importance !Type !Description !Values |- |0 |REQUIRED |(GLOBAL Integer ID) |Globals | |- |1 |REQUIRED |(Point with crs: EPSG:3857) |Point | |} ===Response Codes=== {|class=wikitable !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=HTML&token=API_TOKEN with content: <pre>[ 26, {..."
 
No edit summary
Line 10: Line 10:
|REQUIRED
|REQUIRED
|(GLOBAL Integer ID)
|(GLOBAL Integer ID)
|[[Global]]s
|[[Global]]
|
|
|-
|-
Line 34: Line 34:


with content:  
with content:  
<pre>[ 26, {
<pre>[ 61, {
  "type" : "Point",
  "type" : "Point",
  "coordinates" : [ 658657.1967318641, 6799300.419960028 ]
  "coordinates" : [ 657477.7282575442, 6801204.107727905 ]
} ]
} ]
</pre>
</pre>

Revision as of 13:48, 30 March 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=HTML&token=API_TOKEN

with content:

[ 61, {
 "type" : "Point",
 "coordinates" : [ 657477.7282575442, 6801204.107727905 ]
} ]