Api session event editor address set point

From Tygron Support wiki
Jump to navigation Jump to search

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" : [ 658693.4312081179, 6799331.260123822 ]
}, {
 "type" : "Point",
 "coordinates" : [ 658775.5767634725, 6799364.031479363 ]
}, {
 "type" : "Point",
 "coordinates" : [ 658744.4258331925, 6799385.869378706 ]
} ] ]