Api session items globals: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (24 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Api session items [[Global]] Endpoint: /api/session/items/globals/ | |||
==Limit Queries==version=100: | Edit items with events described at [[Api session event editor global]]. | ||
< | |||
Default Query: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=JSON&token=API_TOKEN</syntaxhighlight> | |||
Example Response: | |||
<syntaxhighlight lang="text" copy>[ { | |||
"actualValue" : [ 1.0, 2.0 ], | |||
"bookValueStakeholderID" : -1, | |||
"calcTimeMS" : 0, | |||
"id" : 2, | |||
"name" : "HELLO", | |||
"point" : null, | |||
"previousValue" : [ 1.0, 2.0 ], | |||
"query" : "", | |||
"queryTiming" : "AFTER", | |||
"startValue" : [ 1.0, 2.0 ], | |||
"version" : 1, | |||
"visualisationName" : "" | |||
}, { | |||
"actualValue" : [ 3.0, 4.0 ], | |||
"bookValueStakeholderID" : -1, | |||
"calcTimeMS" : 0, | |||
"id" : 3, | |||
"name" : "HELLO2", | |||
"point" : null, | |||
"previousValue" : [ 3.0, 4.0 ], | |||
"query" : "", | |||
"queryTiming" : "AFTER", | |||
"startValue" : [ 3.0, 4.0 ], | |||
"version" : 2, | |||
"visualisationName" : "" | |||
} ]</syntaxhighlight> | |||
==Limit Queries== | |||
version=100: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?version=100&token=API_TOKEN</syntaxhighlight> | |||
Pseudo-Mercator: | Pseudo-Mercator: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?crs=3857&token=API_TOKEN</syntaxhighlight> | ||
Degrees: | Degrees: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?crs=4326&token=API_TOKEN</syntaxhighlight> | ||
Amersfoort / RD New: | Amersfoort / RD New: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?crs=28992&token=API_TOKEN</syntaxhighlight> | ||
Local Coordinates: | Local Coordinates: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?crs=LOCAL&token=API_TOKEN</syntaxhighlight> | ||
bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785: | bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?crs=3857&bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785&token=API_TOKEN</syntaxhighlight> | ||
FOO: | FOO: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals-foo/?crs=3857&token=API_TOKEN</syntaxhighlight> | ||
== | ==Show Queries== | ||
< | max version: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/version/?token=API_TOKEN</syntaxhighlight> | |||
size: | size: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/size/?token=API_TOKEN</syntaxhighlight> | ||
== | ==Formats== | ||
< | HTML: | ||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=HTML&token=API_TOKEN</syntaxhighlight> | |||
JSON: | JSON: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=JSON&token=API_TOKEN</syntaxhighlight> | ||
GEOJSON: | GEOJSON: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=GEOJSON&token=API_TOKEN</syntaxhighlight> | ||
GPKG: | GPKG: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=GPKG&token=API_TOKEN</syntaxhighlight> | ||
DXF: | DXF: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=DXF&token=API_TOKEN</syntaxhighlight> | ||
CSV: | CSV: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=CSV&token=API_TOKEN</syntaxhighlight> | ||
SSV: | SSV: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=SSV&token=API_TOKEN</syntaxhighlight> | ||
SMILE: | SMILE: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=SMILE&token=API_TOKEN</syntaxhighlight> | ||
ZIPJSON: | ZIPJSON: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=ZIPJSON&token=API_TOKEN</syntaxhighlight> | ||
ZIPSMILE: | ZIPSMILE: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/globals/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | ||
{{article end|seealso=*[[Api Content Items]]}} | ==Api Model Global== | ||
API Model description of Global | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
|actualValue | |||
|double[] | |||
| | |||
|- | |||
|bookValueStakeholderID | |||
|int | |||
|[[Stakeholder]] ID | |||
|- | |||
|calcTimeMS | |||
|long | |||
| | |||
|- | |||
|id | |||
|int | |||
| | |||
|- | |||
|name | |||
|String | |||
| | |||
|- | |||
|point | |||
|Point | |||
| | |||
|- | |||
|previousValue | |||
|double[] | |||
| | |||
|- | |||
|query | |||
|String | |||
| | |||
|- | |||
|queryTiming | |||
|Timing | |||
| | |||
|- | |||
|startValue | |||
|double[] | |||
| | |||
|- | |||
|version | |||
|int | |||
| | |||
|- | |||
|visualisationName | |||
|String | |||
| | |||
|} | |||
==Api Model Point== | |||
API Model description of Point | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
|type | |||
|String | |||
|[[#Api Model Point|Point]] | |||
|- | |||
|coordinates | |||
|double[] | |||
|x, y, (optional) z | |||
|} | |||
==Api Model Timing== | |||
API Enumeration description of Timing | |||
{|class=wikitable | |||
!Name | |||
!Description | |||
|- | |||
|BEFORE | |||
| | |||
|- | |||
|AFTER | |||
| | |||
|} | |||
{{article end|seealso=*[[Api Content Items]] | |||
*[[Api session event editor global]] | |||
}} | |||
[[Category:API]] | [[Category:API]] | ||
[[Category:Items]] | |||
Latest revision as of 12:14, 29 May 2026
Api session items Global Endpoint: /api/session/items/globals/
Edit items with events described at Api session event editor global.
Default Query:
https://engine.tygron.com/api/session/items/globals/?f=JSON&token=API_TOKENExample Response:
[ {
"actualValue" : [ 1.0, 2.0 ],
"bookValueStakeholderID" : -1,
"calcTimeMS" : 0,
"id" : 2,
"name" : "HELLO",
"point" : null,
"previousValue" : [ 1.0, 2.0 ],
"query" : "",
"queryTiming" : "AFTER",
"startValue" : [ 1.0, 2.0 ],
"version" : 1,
"visualisationName" : ""
}, {
"actualValue" : [ 3.0, 4.0 ],
"bookValueStakeholderID" : -1,
"calcTimeMS" : 0,
"id" : 3,
"name" : "HELLO2",
"point" : null,
"previousValue" : [ 3.0, 4.0 ],
"query" : "",
"queryTiming" : "AFTER",
"startValue" : [ 3.0, 4.0 ],
"version" : 2,
"visualisationName" : ""
} ]Limit Queries
version=100:
https://engine.tygron.com/api/session/items/globals/?version=100&token=API_TOKENPseudo-Mercator:
https://engine.tygron.com/api/session/items/globals/?crs=3857&token=API_TOKENDegrees:
https://engine.tygron.com/api/session/items/globals/?crs=4326&token=API_TOKENAmersfoort / RD New:
https://engine.tygron.com/api/session/items/globals/?crs=28992&token=API_TOKENLocal Coordinates:
https://engine.tygron.com/api/session/items/globals/?crs=LOCAL&token=API_TOKENbbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785:
https://engine.tygron.com/api/session/items/globals/?crs=3857&bbox=658636.7618515313,6798649.869141218,659042.7958749933,6799055.882798785&token=API_TOKENFOO:
https://engine.tygron.com/api/session/items/globals-foo/?crs=3857&token=API_TOKENShow Queries
max version:
https://engine.tygron.com/api/session/items/globals/version/?token=API_TOKENsize:
https://engine.tygron.com/api/session/items/globals/size/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/globals/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/globals/?f=JSON&token=API_TOKENGEOJSON:
https://engine.tygron.com/api/session/items/globals/?f=GEOJSON&token=API_TOKENGPKG:
https://engine.tygron.com/api/session/items/globals/?f=GPKG&token=API_TOKENDXF:
https://engine.tygron.com/api/session/items/globals/?f=DXF&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/globals/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/globals/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/globals/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/globals/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/globals/?f=ZIPSMILE&token=API_TOKENApi Model Global
API Model description of Global
| Name | Type | Description |
|---|---|---|
| actualValue | double[] | |
| bookValueStakeholderID | int | Stakeholder ID |
| calcTimeMS | long | |
| id | int | |
| name | String | |
| point | Point | |
| previousValue | double[] | |
| query | String | |
| queryTiming | Timing | |
| startValue | double[] | |
| version | int | |
| visualisationName | String |
Api Model Point
API Model description of Point
| Name | Type | Description |
|---|---|---|
| type | String | Point |
| coordinates | double[] | x, y, (optional) z |
Api Model Timing
API Enumeration description of Timing
| Name | Description |
|---|---|
| BEFORE | |
| AFTER |