Api session event editor neighborhood add polygons: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
API Event to Add polygons to existing Neighborhood | API Event to Add polygons to existing [[Neighborhood]] | ||
{|class=wikitable | {|class=wikitable | ||
!Name | !Name | ||
| Line 10: | Line 10: | ||
|REQUIRED | |REQUIRED | ||
|(NEIGHBORHOOD Integer ID) | |(NEIGHBORHOOD Integer ID) | ||
|[[Neighborhood]] | |[[Neighborhood]]s | ||
| | | | ||
|- | |- | ||
| Line 34: | Line 34: | ||
with content: | with content: | ||
<pre>[ | <pre>[ 76, { | ||
"type" : "MultiPolygon", | "type" : "MultiPolygon", | ||
"coordinates" : [ [ [ [ 658636.7618515313, 6799461.8964563515 ], [ 658636.7618515313, | "coordinates" : [ [ [ [ 658636.7618515313, 6799461.8964563515 ], [ 658636.7618515313, 6799395.402973648 ], [ 658714.5839566041, 6799395.402973648 ], [ 658714.5839566041, 6799461.8964563515 ], [ 658636.7618515313, 6799461.8964563515 ] ] ] ] | ||
} ] | } ] | ||
</pre> | </pre> | ||
Revision as of 14:14, 30 March 2026
API Event to Add polygons to existing Neighborhood
| Name | Importance | Type | Description | Values |
|---|---|---|---|---|
| 0 | REQUIRED | (NEIGHBORHOOD Integer ID) | Neighborhoods | |
| 1 | REQUIRED | (MultiPolygon with crs: EPSG:3857) | MultiPolygon |
Response Codes
| Response Code: | Description |
|---|---|
| 204 | No Content |
| 300-600 | Codes Overview |
Example POST
Example POST: https://engine.tygron.com/api/session/event/editorneighborhood/add_polygons/?crs=3857&f=HTML&token=API_TOKEN
with content:
[ 76, {
"type" : "MultiPolygon",
"coordinates" : [ [ [ [ 658636.7618515313, 6799461.8964563515 ], [ 658636.7618515313, 6799395.402973648 ], [ 658714.5839566041, 6799395.402973648 ], [ 658714.5839566041, 6799461.8964563515 ], [ 658636.7618515313, 6799461.8964563515 ] ] ] ]
} ]