Api session items netlines: Difference between revisions
Jump to navigation
Jump to search
Replaced content with "Api session items Net Lines Endpoints. Edit items with event: editornetline. Default Query: <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netlines/?f=JSON&token=API_TOKEN</syntaxhighlight> Example Response: <syntaxhighlight lang="text" copy>[ { "attributes" : null, "endNodeID" : 1, "functionID" : 0, "id" : 0, "maquetteOverride" : null, "name" : "NetLine 0", "sourceIDs" : [ ], "..." Tag: Replaced |
No edit summary |
||
| (28 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
API Endpoint: /api/session/items/netlines/ | |||
Edit items with | Edit items with events described at [[Api session event editor netline]]. | ||
Default Query: | Default Query: | ||
| Line 15: | Line 15: | ||
"sourceIDs" : [ ], | "sourceIDs" : [ ], | ||
"startNodeID" : 0, | "startNodeID" : 0, | ||
"version" : | "version" : 31 | ||
}, { | }, { | ||
"attributes" : null, | "attributes" : null, | ||
| Line 25: | Line 25: | ||
"sourceIDs" : [ ], | "sourceIDs" : [ ], | ||
"startNodeID" : 35, | "startNodeID" : 35, | ||
"version" : | "version" : 32 | ||
} ]</syntaxhighlight> | } ]</syntaxhighlight> | ||
==Limit Queries== | ==Limit Queries== | ||
| Line 42: | Line 42: | ||
FOO: | FOO: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/net_lines-foo/?crs=3857&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/net_lines-foo/?crs=3857&token=API_TOKEN</syntaxhighlight> | ||
== | ==Get Queries== | ||
attributes: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netlines/attributes/?token=API_TOKEN</syntaxhighlight> | |||
max version: | max version: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netlines/version/?token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netlines/version/?token=API_TOKEN</syntaxhighlight> | ||
count: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netlines/ | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netlines/count/?token=API_TOKEN</syntaxhighlight> | ||
==Formats== | ==Formats== | ||
HTML: | HTML: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netlines/?f=HTML&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netlines/?f=HTML&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
JSON: | JSON: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netlines/?f=JSON&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netlines/?f=JSON&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
GEOJSON: | GEOJSON: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netlines/?f=GEOJSON&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netlines/?f=GEOJSON&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
GPKG: | GPKG: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netlines/?f=GPKG&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netlines/?f=GPKG&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
DXF: | DXF: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netlines/?f=DXF&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netlines/?f=DXF&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
CSV: | CSV: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netlines/?f=CSV&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netlines/?f=CSV&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
SSV: | SSV: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netlines/?f=SSV&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netlines/?f=SSV&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
SMILE: | SMILE: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netlines/?f=SMILE&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netlines/?f=SMILE&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
ZIPJSON: | ZIPJSON: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netlines/?f=ZIPJSON&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netlines/?f=ZIPJSON&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
ZIPSMILE: | ZIPSMILE: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netlines/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/netlines/?f=ZIPSMILE&token=API_TOKEN&crs=3857</syntaxhighlight> | ||
==Api Model NetLine== | ==Api Model NetLine== | ||
API Model description of NetLine | API Model description of NetLine | ||
| Line 247: | Line 78: | ||
!Description | !Description | ||
|- | |- | ||
|attributes | | attributes | ||
|Map<String,double[]> | | Map<String,double[]> | ||
| | | | ||
|- | |- | ||
| | | endNodeID | ||
| | | int | ||
| [[Net Node]] ID | |||
|- | |- | ||
| | | functionID | ||
|int | | int | ||
|[[ | | [[Net Function]] ID | ||
|- | |- | ||
| id | |||
| int | |||
| | |||
|id | |||
|int | |||
| | |||
|- | |- | ||
| | | maquetteOverride | ||
| | | Map<String,double[]> | ||
| | |||
|- | |- | ||
| | | name | ||
| | | String | ||
| | |||
|- | |- | ||
| | | sourceIDs | ||
| | | int<nowiki>[]</nowiki> | ||
| [[Source]]s ID | |||
|- | |- | ||
| | | startNodeID | ||
| | | int | ||
| [[Net Node]] ID | |||
|- | |- | ||
| | | version | ||
| | | int | ||
| | |||
|} | |} | ||
| Line 491: | Line 120: | ||
[[Category:API]] | [[Category:API]] | ||
[[Category:Items]] | |||
Latest revision as of 07:06, 14 July 2026
API Endpoint: /api/session/items/netlines/
Edit items with events described at Api session event editor netline.
Default Query:
https://engine.tygron.com/api/session/items/netlines/?f=JSON&token=API_TOKENExample Response:
[ {
"attributes" : null,
"endNodeID" : 1,
"functionID" : 0,
"id" : 0,
"maquetteOverride" : null,
"name" : "NetLine 0",
"sourceIDs" : [ ],
"startNodeID" : 0,
"version" : 31
}, {
"attributes" : null,
"endNodeID" : 58,
"functionID" : 0,
"id" : 1,
"maquetteOverride" : null,
"name" : "NetLine 1",
"sourceIDs" : [ ],
"startNodeID" : 35,
"version" : 32
} ]Limit Queries
version=100:
https://engine.tygron.com/api/session/items/netlines/?version=100&token=API_TOKENPseudo-Mercator:
https://engine.tygron.com/api/session/items/netlines/?crs=3857&token=API_TOKENDegrees:
https://engine.tygron.com/api/session/items/netlines/?crs=4326&token=API_TOKENAmersfoort / RD New:
https://engine.tygron.com/api/session/items/netlines/?crs=28992&token=API_TOKENLocal Coordinates:
https://engine.tygron.com/api/session/items/netlines/?crs=LOCAL&token=API_TOKENbbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785:
https://engine.tygron.com/api/session/items/netlines/?crs=3857&bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785&token=API_TOKENFOO:
https://engine.tygron.com/api/session/items/net_lines-foo/?crs=3857&token=API_TOKENGet Queries
attributes:
https://engine.tygron.com/api/session/items/netlines/attributes/?token=API_TOKENmax version:
https://engine.tygron.com/api/session/items/netlines/version/?token=API_TOKENcount:
https://engine.tygron.com/api/session/items/netlines/count/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/netlines/?f=HTML&token=API_TOKEN&crs=3857JSON:
https://engine.tygron.com/api/session/items/netlines/?f=JSON&token=API_TOKEN&crs=3857GEOJSON:
https://engine.tygron.com/api/session/items/netlines/?f=GEOJSON&token=API_TOKEN&crs=3857GPKG:
https://engine.tygron.com/api/session/items/netlines/?f=GPKG&token=API_TOKEN&crs=3857DXF:
https://engine.tygron.com/api/session/items/netlines/?f=DXF&token=API_TOKEN&crs=3857CSV:
https://engine.tygron.com/api/session/items/netlines/?f=CSV&token=API_TOKEN&crs=3857SSV:
https://engine.tygron.com/api/session/items/netlines/?f=SSV&token=API_TOKEN&crs=3857SMILE:
https://engine.tygron.com/api/session/items/netlines/?f=SMILE&token=API_TOKEN&crs=3857ZIPJSON:
https://engine.tygron.com/api/session/items/netlines/?f=ZIPJSON&token=API_TOKEN&crs=3857ZIPSMILE:
https://engine.tygron.com/api/session/items/netlines/?f=ZIPSMILE&token=API_TOKEN&crs=3857Api Model NetLine
API Model description of NetLine
| Name | Type | Description |
|---|---|---|
| attributes | Map<String,double[]> | |
| endNodeID | int | Net Node ID |
| functionID | int | Net Function ID |
| id | int | |
| maquetteOverride | Map<String,double[]> | |
| name | String | |
| sourceIDs | int[] | Sources ID |
| startNodeID | int | Net Node ID |
| version | int |