Api session event editor specialeffect set location: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 31: Line 31:
|}
|}
===Example POST===
===Example POST===
Example POST: https://engine.tygron.com/api/session/event/editorspecialeffect/set_location/?crs=3857&f=HTML&token=API_TOKEN
Example POST: https://engine.tygron.com/api/session/event/editorspecialeffect/set_location/?crs=3857&f=JSON&token=API_TOKEN


with content:  
with content:  
<pre>[ 83, {
<pre>[ 65, {
  "type" : "Point",
  "type" : "Point",
  "coordinates" : [ 658677.4838158124, 6799345.328175848 ]
  "coordinates" : [ 658663.9758759198, 6799456.678108762 ]
} ]
} ]
</pre>
</pre>

Revision as of 08:22, 1 April 2026

API Event to Set Location

Name Importance Type Description Values
0 REQUIRED (SPECIAL_EFFECT Integer ID) Special Effect
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/editorspecialeffect/set_location/?crs=3857&f=JSON&token=API_TOKEN

with content:

[ 65, {
 "type" : "Point",
 "coordinates" : [ 658663.9758759198, 6799456.678108762 ]
} ]