Api session event editor address set point: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 36: Line 36:
<pre>[ [ 1, 2, 3 ], [ {
<pre>[ [ 1, 2, 3 ], [ {
  "type" : "Point",
  "type" : "Point",
  "coordinates" : [ 658752.3987172772, 6799366.206171589 ]
  "coordinates" : [ 658779.9651791981, 6799411.772523418 ]
}, {
}, {
  "type" : "Point",
  "type" : "Point",
  "coordinates" : [ 658638.9901662521, 6799385.299312311 ]
  "coordinates" : [ 658688.5393102032, 6799409.31359697 ]
}, {
}, {
  "type" : "Point",
  "type" : "Point",
  "coordinates" : [ 658653.5294325643, 6799369.8425701335 ]
  "coordinates" : [ 658649.9839434713, 6799335.937561637 ]
} ] ]
} ] ]
</pre>
</pre>
{{article end|seealso=*[[api session event editor address]]}}
{{article end|seealso=*[[api session event editor address]]
*[[api session event editor address]]
}}


[[Category:API]]
[[Category:API]]

Revision as of 09:53, 1 April 2026

API Event to Set the point of an Address

Name Importance Type Description Values
0 REQUIRED (ADDRESSE Integer ID or multiple values in array [1, 2, 3]) Address ID
1 REQUIRED (Point with crs: EPSG:3857 or multiple values in array [a, b, c]) Point

Response Codes

Response Code: Description
204 No Content
300-600 Codes Overview

Example POST

Example POST: https://engine.tygron.com/api/session/event/editoraddress/set_point/?crs=3857&f=JSON&token=API_TOKEN

with content:

[ [ 1, 2, 3 ], [ {
 "type" : "Point",
 "coordinates" : [ 658779.9651791981, 6799411.772523418 ]
}, {
 "type" : "Point",
 "coordinates" : [ 658688.5393102032, 6799409.31359697 ]
}, {
 "type" : "Point",
 "coordinates" : [ 658649.9839434713, 6799335.937561637 ]
} ] ]