Api session event editor address set point: Difference between revisions
Jump to navigation
Jump to search
Created page with "API Event to Set the point of an address {|class=wikitable !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=== {|class=wikitable !Response Code: !Description |- |204 |No Content |- |300-600 |Codes Overview |} ===Example POST=== Example POST: https://engine.tygron.com/api/ses..." |
No edit summary |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
API Event to Set the point of an | API Event to Set the point of an [[Address]] | ||
{|class=wikitable | {|class=wikitable | ||
!Name | !Name | ||
| Line 10: | Line 10: | ||
|REQUIRED | |REQUIRED | ||
|(ADDRESSE Integer ID or multiple values in array [1, 2, 3]) | |(ADDRESSE Integer ID or multiple values in array [1, 2, 3]) | ||
|Address ID | |[[Address]] ID | ||
| | | | ||
|- | |- | ||
| Line 31: | Line 31: | ||
|} | |} | ||
===Example POST=== | ===Example POST=== | ||
Example POST: https://engine.tygron.com/api/session/event/editoraddress/set_point/?crs=3857&f= | Example POST: https://engine.tygron.com/api/session/event/editoraddress/set_point/?crs=3857&f=JSON&token=API_TOKEN | ||
with content: | with content: | ||
<pre>[ [ 1, 2, 3 ], [ { | <pre>[ [ 1, 2, 3 ], [ { | ||
"type" : "Point", | "type" : "Point", | ||
"coordinates" : [ | "coordinates" : [ 658673.998419755, 6799376.353660304 ] | ||
}, { | }, { | ||
"type" : "Point", | "type" : "Point", | ||
"coordinates" : [ | "coordinates" : [ 658797.252483781, 6799432.798486393 ] | ||
}, { | }, { | ||
"type" : "Point", | "type" : "Point", | ||
"coordinates" : [ | "coordinates" : [ 658673.0288105069, 6799328.656676102 ] | ||
} ] ] | } ] ] | ||
</pre> | </pre> | ||
{{article end|seealso=*[[ | {{article end|seealso=*[[Api session event editor address]] | ||
*[[Api session items addresses]] | |||
}} | |||
[[Category:API]] | [[Category:API]] | ||
Latest revision as of 12:03, 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" : [ 658673.998419755, 6799376.353660304 ]
}, {
"type" : "Point",
"coordinates" : [ 658797.252483781, 6799432.798486393 ]
}, {
"type" : "Point",
"coordinates" : [ 658673.0288105069, 6799328.656676102 ]
} ] ]